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 // The XmppSignalStrategy encapsulates all the logic to perform the signaling | 5 // The XmppSignalStrategy encapsulates all the logic to perform the signaling |
6 // STUN/ICE for jingle via a direct XMPP connection. | 6 // STUN/ICE for jingle via a direct XMPP connection. |
7 // | 7 // |
8 // This class is not threadsafe. | 8 // This class is not threadsafe. |
9 | 9 |
10 #ifndef REMOTING_JINGLE_GLUE_XMPP_SIGNAL_STRATEGY_H_ | 10 #ifndef REMOTING_JINGLE_GLUE_XMPP_SIGNAL_STRATEGY_H_ |
11 #define REMOTING_JINGLE_GLUE_XMPP_SIGNAL_STRATEGY_H_ | 11 #define REMOTING_JINGLE_GLUE_XMPP_SIGNAL_STRATEGY_H_ |
12 | 12 |
13 #include "remoting/jingle_glue/signal_strategy.h" | 13 #include "remoting/jingle_glue/signal_strategy.h" |
14 | 14 |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
19 #include "base/timer.h" | |
20 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "base/timer/timer.h" |
21 #include "third_party/libjingle/source/talk/base/sigslot.h" | 21 #include "third_party/libjingle/source/talk/base/sigslot.h" |
22 #include "third_party/libjingle/source/talk/xmpp/xmppclient.h" | 22 #include "third_party/libjingle/source/talk/xmpp/xmppclient.h" |
23 | 23 |
24 namespace net { | 24 namespace net { |
25 class URLRequestContextGetter; | 25 class URLRequestContextGetter; |
26 } // namespace net | 26 } // namespace net |
27 | 27 |
28 namespace talk_base { | 28 namespace talk_base { |
29 class TaskRunner; | 29 class TaskRunner; |
30 } // namespace talk_base | 30 } // namespace talk_base |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 ObserverList<Listener, true> listeners_; | 102 ObserverList<Listener, true> listeners_; |
103 | 103 |
104 base::RepeatingTimer<XmppSignalStrategy> keep_alive_timer_; | 104 base::RepeatingTimer<XmppSignalStrategy> keep_alive_timer_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(XmppSignalStrategy); | 106 DISALLOW_COPY_AND_ASSIGN(XmppSignalStrategy); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace remoting | 109 } // namespace remoting |
110 | 110 |
111 #endif // REMOTING_JINGLE_GLUE_XMPP_SIGNAL_STRATEGY_H_ | 111 #endif // REMOTING_JINGLE_GLUE_XMPP_SIGNAL_STRATEGY_H_ |
OLD | NEW |