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

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

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.cc
diff --git a/content/renderer/p2p/port_allocator.cc b/content/renderer/p2p/port_allocator.cc
index f2a9f1d912c19d1b91ef6a4f0515fd0c1485839e..ce2eef486a3e44579af619d11af8ff3f6a8cf74b 100644
--- a/content/renderer/p2p/port_allocator.cc
+++ b/content/renderer/p2p/port_allocator.cc
@@ -51,4 +51,10 @@ P2PPortAllocator::P2PPortAllocator(
P2PPortAllocator::~P2PPortAllocator() {}
+void P2PPortAllocator::Initialize() {
+ if (network_manager_) {
Sergey Ulanov 2016/07/07 18:09:08 call cricket::BasicPortAllocator::Initialize() her
Sergey Ulanov 2016/07/07 18:09:08 nit: Do you really need this condition? AFAICT net
Taylor_Brandstetter 2016/07/07 21:30:28 Done.
Taylor_Brandstetter 2016/07/07 21:30:28 I didn't see any "RTC_DCHECK(network_manager_)" so
+ network_manager_->Initialize();
+ }
+}
+
} // namespace content
« content/renderer/p2p/port_allocator.h ('K') | « content/renderer/p2p/port_allocator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698