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

Unified Diff: jingle/notifier/communicator/xmpp_connection_generator.h

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: Lint fixes 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/xmpp_connection_generator.h
===================================================================
--- jingle/notifier/communicator/xmpp_connection_generator.h (revision 81535)
+++ jingle/notifier/communicator/xmpp_connection_generator.h (working copy)
@@ -57,9 +57,15 @@
void UseNextConnection();
+ // TODO(sanjeevr): Rip out the DNS resolution code eventually.
+ void SetShouldResolveDNS(bool should_resolve_dns) {
+ should_resolve_dns_ = should_resolve_dns;
+ }
+
private:
void OnServerDNSResolved(int status);
void HandleServerDNSResolved(int status);
+ void GenerateSettingsForIPList(const std::vector<uint32>& ip_list);
Delegate* delegate_;
net::SingleRequestHostResolver host_resolver_;
@@ -73,6 +79,7 @@
bool try_ssltcp_first_; // Used when sync tests are run on chromium builders.
bool successfully_resolved_dns_;
int first_dns_error_;
+ bool should_resolve_dns_;
const ConnectionOptions* options_;
DISALLOW_COPY_AND_ASSIGN(XmppConnectionGenerator);

Powered by Google App Engine
This is Rietveld 408576698