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_PROTOCOL_CHROMIUM_PORT_ALLOCATOR_H_ | 5 #ifndef REMOTING_PROTOCOL_CHROMIUM_PORT_ALLOCATOR_H_ |
6 #define REMOTING_PROTOCOL_CHROMIUM_PORT_ALLOCATOR_H_ | 6 #define REMOTING_PROTOCOL_CHROMIUM_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 net { | 16 namespace net { |
16 class URLRequestContextGetter; | 17 class URLRequestContextGetter; |
17 } // namespace net | 18 } // namespace net |
18 | 19 |
19 namespace remoting { | 20 namespace remoting { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 private: | 63 private: |
63 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; | 64 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(ChromiumPortAllocatorFactory); | 66 DISALLOW_COPY_AND_ASSIGN(ChromiumPortAllocatorFactory); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace protocol | 69 } // namespace protocol |
69 } // namespace remoting | 70 } // namespace remoting |
70 | 71 |
71 #endif // REMOTING_HOST_HOST_PORT_ALLOCATOR_H_ | 72 #endif // REMOTING_HOST_HOST_PORT_ALLOCATOR_H_ |
OLD | NEW |