OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SIGNALING_FAKE_SIGNAL_STRATEGY_H_ | 5 #ifndef REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_ |
6 #define REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_ | 6 #define REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
14 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
15 #include "remoting/signaling/iq_sender.h" | 16 #include "remoting/signaling/iq_sender.h" |
16 #include "remoting/signaling/signal_strategy.h" | 17 #include "remoting/signaling/signal_strategy.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
20 } // namespace base | 21 } // namespace base |
21 | 22 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 std::list<buzz::XmlElement*> received_messages_; | 83 std::list<buzz::XmlElement*> received_messages_; |
83 | 84 |
84 base::WeakPtrFactory<FakeSignalStrategy> weak_factory_; | 85 base::WeakPtrFactory<FakeSignalStrategy> weak_factory_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(FakeSignalStrategy); | 87 DISALLOW_COPY_AND_ASSIGN(FakeSignalStrategy); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace remoting | 90 } // namespace remoting |
90 | 91 |
91 #endif // REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_ | 92 #endif // REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_ |
OLD | NEW |