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

Side by Side Diff: content/renderer/p2p/filtering_network_manager.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 2015 The Chromium Authors. All rights reserved. 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 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_FILTERING_NETWORK_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_P2P_FILTERING_NETWORK_MANAGER_H_
6 #define CONTENT_RENDERER_P2P_FILTERING_NETWORK_MANAGER_H_ 6 #define CONTENT_RENDERER_P2P_FILTERING_NETWORK_MANAGER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 27 matching lines...) Expand all
38 public: 38 public:
39 // This class is created by WebRTC's signaling thread but used by WebRTC's 39 // This class is created by WebRTC's signaling thread but used by WebRTC's
40 // worker thread |task_runner|. 40 // worker thread |task_runner|.
41 CONTENT_EXPORT FilteringNetworkManager( 41 CONTENT_EXPORT FilteringNetworkManager(
42 rtc::NetworkManager* network_manager, 42 rtc::NetworkManager* network_manager,
43 const GURL& requesting_origin, 43 const GURL& requesting_origin,
44 scoped_ptr<media::MediaPermission> media_permission); 44 scoped_ptr<media::MediaPermission> media_permission);
45 45
46 CONTENT_EXPORT ~FilteringNetworkManager() override; 46 CONTENT_EXPORT ~FilteringNetworkManager() override;
47 47
48 // Check mic/camera permission. This is called by P2PPortAllocatorFactory. 48 // Check mic/camera permission.
49 // This is called by PeerConnectionDependencyFactory.
49 CONTENT_EXPORT void Initialize(); 50 CONTENT_EXPORT void Initialize();
50 51
51 // rtc::NetworkManager: 52 // rtc::NetworkManager:
52 void StartUpdating() override; 53 void StartUpdating() override;
53 void StopUpdating() override; 54 void StopUpdating() override;
54 void GetNetworks(NetworkList* networks) const override; 55 void GetNetworks(NetworkList* networks) const override;
55 bool GetDefaultLocalAddress(int family, 56 bool GetDefaultLocalAddress(int family,
56 rtc::IPAddress* ipaddress) const override; 57 rtc::IPAddress* ipaddress) const override;
57 58
58 private: 59 private:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 GURL requesting_origin_; 120 GURL requesting_origin_;
120 121
121 base::WeakPtrFactory<FilteringNetworkManager> weak_ptr_factory_; 122 base::WeakPtrFactory<FilteringNetworkManager> weak_ptr_factory_;
122 123
123 DISALLOW_COPY_AND_ASSIGN(FilteringNetworkManager); 124 DISALLOW_COPY_AND_ASSIGN(FilteringNetworkManager);
124 }; 125 };
125 126
126 } // namespace content 127 } // namespace content
127 128
128 #endif // CONTENT_RENDERER_P2P_FILTERING_NETWORK_MANAGER_H_ 129 #endif // CONTENT_RENDERER_P2P_FILTERING_NETWORK_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc/peer_connection_dependency_factory.cc ('k') | content/renderer/p2p/port_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698