summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorwtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-04 21:17:39 +0000
committerwtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-04 21:17:39 +0000
commita768ba3242e6decfc44541062ab7723e6d9b59b2 (patch)
treed769b262e98d50e5fb89f7c8cce258d65a5692d8 /jingle
parent34ced0bfc541b0b86e5246f73b8ac350acde997e (diff)
downloadchromium_src-a768ba3242e6decfc44541062ab7723e6d9b59b2.zip
chromium_src-a768ba3242e6decfc44541062ab7723e6d9b59b2.tar.gz
chromium_src-a768ba3242e6decfc44541062ab7723e6d9b59b2.tar.bz2
Fix nits. Add 'const'.
R=akalin BUG=63357,67239 TEST=no compliation errors. Review URL: http://codereview.chromium.org/6016001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70445 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/notifier/base/chrome_async_socket.h4
-rw-r--r--jingle/notifier/communicator/login_settings.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/jingle/notifier/base/chrome_async_socket.h b/jingle/notifier/base/chrome_async_socket.h
index a991598..782adf8 100644
--- a/jingle/notifier/base/chrome_async_socket.h
+++ b/jingle/notifier/base/chrome_async_socket.h
@@ -35,7 +35,7 @@ namespace notifier {
class ChromeAsyncSocket : public buzz::AsyncSocket {
public:
- // Takes ownership of |client_socket_factory| but not |cert_verifier| and
+ // Takes ownership of |client_socket_factory| but not |cert_verifier| nor
// |net_log|. |cert_verifier| may not be NULL. |net_log| may be NULL.
ChromeAsyncSocket(net::ClientSocketFactory* client_socket_factory,
const net::SSLConfig& ssl_config,
@@ -189,7 +189,7 @@ class ChromeAsyncSocket : public buzz::AsyncSocket {
scoped_ptr<net::ClientSocketFactory> client_socket_factory_;
const net::SSLConfig ssl_config_;
- net::CertVerifier* cert_verifier_;
+ net::CertVerifier* const cert_verifier_;
net::BoundNetLog bound_net_log_;
// buzz::AsyncSocket state.
diff --git a/jingle/notifier/communicator/login_settings.h b/jingle/notifier/communicator/login_settings.h
index 79d0e22..d0f4bc6 100644
--- a/jingle/notifier/communicator/login_settings.h
+++ b/jingle/notifier/communicator/login_settings.h
@@ -77,8 +77,8 @@ class LoginSettings {
private:
bool try_ssltcp_first_;
- net::HostResolver* host_resolver_;
- net::CertVerifier* cert_verifier_;
+ net::HostResolver* const host_resolver_;
+ net::CertVerifier* const cert_verifier_;
talk_base::scoped_array<ServerInformation> server_list_;
int server_count_;
// Used to handle redirects