OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_HOST_SIGNALING_CONNECTOR_H_ | 5 #ifndef REMOTING_HOST_SIGNALING_CONNECTOR_H_ |
6 #define REMOTING_HOST_SIGNALING_CONNECTOR_H_ | 6 #define REMOTING_HOST_SIGNALING_CONNECTOR_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 XmppSignalStrategy* signal_strategy_; | 63 XmppSignalStrategy* signal_strategy_; |
64 base::Closure auth_failed_callback_; | 64 base::Closure auth_failed_callback_; |
65 scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker_; | 65 scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker_; |
66 | 66 |
67 OAuthTokenGetter* oauth_token_getter_; | 67 OAuthTokenGetter* oauth_token_getter_; |
68 | 68 |
69 // Number of times we tried to connect without success. | 69 // Number of times we tried to connect without success. |
70 int reconnect_attempts_; | 70 int reconnect_attempts_; |
71 | 71 |
72 base::OneShotTimer<SignalingConnector> timer_; | 72 base::OneShotTimer timer_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(SignalingConnector); | 74 DISALLOW_COPY_AND_ASSIGN(SignalingConnector); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace remoting | 77 } // namespace remoting |
78 | 78 |
79 #endif // REMOTING_HOST_SIGNALING_CONNECTOR_H_ | 79 #endif // REMOTING_HOST_SIGNALING_CONNECTOR_H_ |
OLD | NEW |