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

Unified Diff: webrtc/base/network.h

Issue 2936553003: Adding PortAllocator option to support cases where sockets can't be bound. (Closed)
Patch Set: Comment fixes Created 3 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: webrtc/base/network.h
diff --git a/webrtc/base/network.h b/webrtc/base/network.h
index 52d7d35a2c924e5dcfa6fcf808128dcfaa42e7ff..34d6538c33c071245966d4f3184b3fcfce015889 100644
--- a/webrtc/base/network.h
+++ b/webrtc/base/network.h
@@ -118,6 +118,10 @@ class NetworkManager : public DefaultLocalAddressProvider {
// IP address. (i.e. INADDR_ANY for IPv4 or in6addr_any for IPv6). This is
// useful as binding to such interfaces allow default routing behavior like
// http traffic.
+ //
+ // This method appends the "any address" networks to the list, such that this
+ // can optionally be called after GetNetworks.
+ //
// TODO(guoweis): remove this body when chromium implements this.
virtual void GetAnyAddressNetworks(NetworkList* networks) {}

Powered by Google App Engine
This is Rietveld 408576698