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_PORT_ALLOCATOR_H_ | 5 #ifndef REMOTING_TEST_FAKE_PORT_ALLOCATOR_H_ |
6 #define REMOTING_TEST_FAKE_PORT_ALLOCATOR_H_ | 6 #define REMOTING_TEST_FAKE_PORT_ALLOCATOR_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "remoting/protocol/port_allocator_factory.h" | 13 #include "remoting/protocol/port_allocator_factory.h" |
13 #include "third_party/webrtc/p2p/client/httpportallocator.h" | 14 #include "third_party/webrtc/p2p/client/httpportallocator.h" |
14 | 15 |
15 namespace rtc { | 16 namespace rtc { |
16 class NetworkManager; | 17 class NetworkManager; |
17 } // namespace rtc | 18 } // namespace rtc |
18 | 19 |
19 namespace remoting { | 20 namespace remoting { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 private: | 53 private: |
53 scoped_ptr<rtc::NetworkManager> network_manager_; | 54 scoped_ptr<rtc::NetworkManager> network_manager_; |
54 scoped_ptr<FakePacketSocketFactory> socket_factory_; | 55 scoped_ptr<FakePacketSocketFactory> socket_factory_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(FakePortAllocatorFactory); | 57 DISALLOW_COPY_AND_ASSIGN(FakePortAllocatorFactory); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace remoting | 60 } // namespace remoting |
60 | 61 |
61 #endif // REMOTING_TEST_FAKE_PORT_ALLOCATOR_H_ | 62 #endif // REMOTING_TEST_FAKE_PORT_ALLOCATOR_H_ |
OLD | NEW |