Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: jingle/notifier/communicator/login_settings.cc

Issue 6833031: Changed the jingle network code in ChromeAsyncSocket to use the client socket pool. This also all... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Review comments addressed Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: jingle/notifier/communicator/login_settings.cc
===================================================================
--- jingle/notifier/communicator/login_settings.cc (revision 81535)
+++ jingle/notifier/communicator/login_settings.cc (working copy)
@@ -19,20 +19,17 @@
LoginSettings::LoginSettings(const buzz::XmppClientSettings& user_settings,
const ConnectionOptions& options,
- net::HostResolver* host_resolver,
- net::CertVerifier* cert_verifier,
+ const scoped_refptr<net::URLRequestContextGetter>&
+ request_context_getter,
const ServerList& servers,
bool try_ssltcp_first,
const std::string& auth_mechanism)
: try_ssltcp_first_(try_ssltcp_first),
- host_resolver_(host_resolver),
- cert_verifier_(cert_verifier),
+ request_context_getter_(request_context_getter),
servers_(servers),
user_settings_(new buzz::XmppClientSettings(user_settings)),
connection_options_(new ConnectionOptions(options)),
auth_mechanism_(auth_mechanism) {
- DCHECK(host_resolver);
- DCHECK(cert_verifier);
DCHECK_GT(servers_.size(), 0u);
}

Powered by Google App Engine
This is Rietveld 408576698