OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ | 5 #ifndef JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ |
6 #define JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ | 6 #define JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "net/base/address_list.h" | 11 #include "net/base/address_list.h" |
12 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
13 #include "net/base/host_resolver.h" | 13 #include "net/base/host_resolver.h" |
14 #include "net/base/net_log.h" | 14 #include "net/base/net_log.h" |
15 #include "net/base/single_request_host_resolver.h" | 15 #include "net/base/single_request_host_resolver.h" |
16 #include "jingle/notifier/base/server_information.h" | 16 #include "jingle/notifier/base/server_information.h" |
17 | 17 |
18 namespace talk_base { | |
19 struct ProxyInfo; | |
20 class SignalThread; | |
21 } | |
22 | |
23 namespace notifier { | 18 namespace notifier { |
24 | 19 |
25 class ConnectionOptions; | 20 class ConnectionOptions; |
26 class ConnectionSettings; | 21 class ConnectionSettings; |
27 class ConnectionSettingsList; | 22 class ConnectionSettingsList; |
28 | 23 |
29 // Resolves dns names and iterates through the various ip address and transport | 24 // Resolves dns names and iterates through the various ip address and transport |
30 // combinations. | 25 // combinations. |
31 class XmppConnectionGenerator { | 26 class XmppConnectionGenerator { |
32 public: | 27 public: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 int first_dns_error_; | 77 int first_dns_error_; |
83 bool should_resolve_dns_; | 78 bool should_resolve_dns_; |
84 const ConnectionOptions* options_; | 79 const ConnectionOptions* options_; |
85 | 80 |
86 DISALLOW_COPY_AND_ASSIGN(XmppConnectionGenerator); | 81 DISALLOW_COPY_AND_ASSIGN(XmppConnectionGenerator); |
87 }; | 82 }; |
88 | 83 |
89 } // namespace notifier | 84 } // namespace notifier |
90 | 85 |
91 #endif // JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ | 86 #endif // JINGLE_NOTIFIER_COMMUNICATOR_XMPP_CONNECTION_GENERATOR_H_ |
OLD | NEW |