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

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

Issue 916873004: Add a Preference to allow WebRTC only bind to "any address" (all 0s) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 3cb1377a1dee89dfa9516c877e9254dbc6fea597..057f37bb6dcf8f08331f797ec57aa0b31eb37300 100644
--- a/content/renderer/p2p/port_allocator.h
+++ b/content/renderer/p2p/port_allocator.h
@@ -36,6 +36,9 @@ class P2PPortAllocator : public cricket::BasicPortAllocator {
// Disable TCP-based transport when set to true.
bool disable_tcp_transport;
+
+ // Disable binding to individual NICs when set to false.
+ bool enable_multiple_routes;
};
P2PPortAllocator(P2PSocketDispatcher* socket_dispatcher,
« no previous file with comments | « content/renderer/media/webrtc/peer_connection_dependency_factory.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698