Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1550)

Side by Side Diff: remoting/protocol/chromium_port_allocator.h

Issue 1500663003: Removing references to webrtc::PortAllocatorFactoryInterface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing patch conflicts. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "net/url_request/url_request_context_getter.h"
12 #include "third_party/webrtc/p2p/client/httpportallocator.h" 13 #include "third_party/webrtc/p2p/client/httpportallocator.h"
13 14
14 namespace net {
15 class URLRequestContextGetter;
16 } // namespace net
17
18 namespace remoting { 15 namespace remoting {
19 namespace protocol { 16 namespace protocol {
20 17
21 struct NetworkSettings; 18 struct NetworkSettings;
22 19
23 // An implementation of cricket::PortAllocator for libjingle that 20 // An implementation of cricket::PortAllocator for libjingle that
24 // uses Chromium's network stack and configures itself according 21 // uses Chromium's network stack and configures itself according
25 // to the specified NetworkSettings. 22 // to the specified NetworkSettings.
26 class ChromiumPortAllocator : public cricket::HttpPortAllocatorBase { 23 class ChromiumPortAllocator : public cricket::HttpPortAllocatorBase {
27 public: 24 public:
(...skipping 20 matching lines...) Expand all
48 scoped_ptr<rtc::NetworkManager> network_manager_; 45 scoped_ptr<rtc::NetworkManager> network_manager_;
49 scoped_ptr<rtc::PacketSocketFactory> socket_factory_; 46 scoped_ptr<rtc::PacketSocketFactory> socket_factory_;
50 47
51 DISALLOW_COPY_AND_ASSIGN(ChromiumPortAllocator); 48 DISALLOW_COPY_AND_ASSIGN(ChromiumPortAllocator);
52 }; 49 };
53 50
54 } // namespace protocol 51 } // namespace protocol
55 } // namespace remoting 52 } // namespace remoting
56 53
57 #endif // REMOTING_HOST_HOST_PORT_ALLOCATOR_H_ 54 #endif // REMOTING_HOST_HOST_PORT_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/protocol/chromium_port_allocator_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698