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_TEST_FAKE_NETWORK_DISPATCHER_H_ | 5 #ifndef REMOTING_TEST_FAKE_NETWORK_DISPATCHER_H_ |
6 #define REMOTING_TEST_FAKE_NETWORK_DISPATCHER_H_ | 6 #define REMOTING_TEST_FAKE_NETWORK_DISPATCHER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
13 #include "third_party/libjingle/source/talk/p2p/base/packetsocketfactory.h" | 13 #include "third_party/webrtc/p2p/base/packetsocketfactory.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
17 } // namespace base | 17 } // namespace base |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class IOBuffer; | 20 class IOBuffer; |
21 } // namespace net | 21 } // namespace net |
22 | 22 |
23 namespace remoting { | 23 namespace remoting { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 // A counter used to allocate unique addresses in AllocateAddress(). | 66 // A counter used to allocate unique addresses in AllocateAddress(). |
67 int allocated_address_; | 67 int allocated_address_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDispatcher); | 69 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDispatcher); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace remoting | 72 } // namespace remoting |
73 | 73 |
74 #endif // REMOTING_TEST_FAKE_NETWORK_DISPATCHER_H_ | 74 #endif // REMOTING_TEST_FAKE_NETWORK_DISPATCHER_H_ |
OLD | NEW |