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 CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ | 5 #ifndef CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ |
6 #define CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ | 6 #define CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ |
7 | 7 |
8 #include "third_party/libjingle/source/talk/p2p/client/basicportallocator.h" | 8 #include "third_party/webrtc/p2p/client/basicportallocator.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 | 11 |
12 class P2PPortAllocatorSession; | 12 class P2PPortAllocatorSession; |
13 class P2PSocketDispatcher; | 13 class P2PSocketDispatcher; |
14 | 14 |
15 class P2PPortAllocator : public cricket::BasicPortAllocator { | 15 class P2PPortAllocator : public cricket::BasicPortAllocator { |
16 public: | 16 public: |
17 struct Config { | 17 struct Config { |
18 Config(); | 18 Config(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 private: | 76 private: |
77 P2PPortAllocator* allocator_; | 77 P2PPortAllocator* allocator_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(P2PPortAllocatorSession); | 79 DISALLOW_COPY_AND_ASSIGN(P2PPortAllocatorSession); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace content | 82 } // namespace content |
83 | 83 |
84 #endif // CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ | 84 #endif // CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ |
OLD | NEW |