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

Unified Diff: content/renderer/p2p/port_allocator.h

Issue 2113523003: Do FilteringNetworkManager::CheckPermission from new Initialize method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/p2p/port_allocator.h
diff --git a/content/renderer/p2p/port_allocator.h b/content/renderer/p2p/port_allocator.h
index 71a1f6111922ee93e3a3e785e8506b5f7dac4b70..f686b39643e4ded4c49106a74d0095caae073c31 100644
--- a/content/renderer/p2p/port_allocator.h
+++ b/content/renderer/p2p/port_allocator.h
@@ -45,6 +45,9 @@ class P2PPortAllocator : public cricket::BasicPortAllocator {
const GURL& origin);
~P2PPortAllocator() override;
+ // Will also initialize the network manager passed into the constructor.
+ void Initialize() override;
Sergey Ulanov 2016/07/07 18:09:08 Who is supposed to call this method? I don't see i
Taylor_Brandstetter 2016/07/07 21:30:28 It's called by PeerConnection: https://cs.chromium
+
private:
std::unique_ptr<rtc::NetworkManager> network_manager_;
scoped_refptr<P2PSocketDispatcher> socket_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698