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