OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "ppapi/cpp/instance_handle.h" | 11 #include "ppapi/cpp/instance_handle.h" |
11 #include "remoting/protocol/port_allocator_factory.h" | 12 #include "remoting/protocol/port_allocator_factory.h" |
12 #include "third_party/webrtc/p2p/client/httpportallocator.h" | 13 #include "third_party/webrtc/p2p/client/httpportallocator.h" |
13 | 14 |
14 namespace remoting { | 15 namespace remoting { |
15 | 16 |
16 // An implementation of cricket::PortAllocator for libjingle that is | 17 // An implementation of cricket::PortAllocator for libjingle that is |
17 // used by the client plugin. There are two differences from | 18 // used by the client plugin. There are two differences from |
18 // cricket::HttpPortAllocator: | 19 // cricket::HttpPortAllocator: |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 59 |
59 private: | 60 private: |
60 pp::InstanceHandle instance_; | 61 pp::InstanceHandle instance_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(PepperPortAllocatorFactory); | 63 DISALLOW_COPY_AND_ASSIGN(PepperPortAllocatorFactory); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace remoting | 66 } // namespace remoting |
66 | 67 |
67 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_H_ | 68 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PORT_ALLOCATOR_H_ |
OLD | NEW |