Chromium Code Reviews| 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,14 @@ |
| void UseNextConnection(); |
| + void SetShouldResolveDNS(bool should_resolve_dns) { |
|
akalin
2011/04/14 21:54:50
Add TODO to always not resolve and rip this (and r
sanjeevr
2011/04/14 23:15:43
Done.
|
| + 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 +78,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); |