OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_ |
| 6 #define REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_ |
| 7 |
| 8 #include "third_party/webrtc/p2p/base/portallocator.h" |
| 9 |
| 10 namespace remoting { |
| 11 namespace protocol { |
| 12 |
| 13 // Factory class used for creating cricket::PortAllocator that is used |
| 14 // for ICE negotiation. |
| 15 class PortAllocatorFactory { |
| 16 public: |
| 17 virtual cricket::PortAllocator* CreatePortAllocator() = 0; |
| 18 |
| 19 virtual ~PortAllocatorFactory() {} |
| 20 }; |
| 21 |
| 22 } // namespace protocol |
| 23 } // namespace remoting |
| 24 |
| 25 #endif // REMOTING_PROTOCOL_PORT_ALLOCATOR_FACTORY_H_ |
OLD | NEW |