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

Unified Diff: webrtc/base/network.h

Issue 1556743002: Bind a socket to a network if the network handle is set. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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 2f2e1b3a45aaf3e3592a37374f149f63e4f4d4b2..baf9870edd82751f3eb3d4cf5ed2818bf02806dc 100644
--- a/webrtc/base/network.h
+++ b/webrtc/base/network.h
@@ -355,6 +355,9 @@ class Network {
// Debugging description of this network
std::string ToString() const;
+ NetworkHandle handle() const { return 0; }
+ bool IsHandleValid() const { return false; }
pthatcher1 2016/01/06 21:58:46 Can you leave a comment about what these are how t
honghaiz3 2016/01/12 20:36:42 Acknowledged.
+
private:
const DefaultLocalAddressProvider* default_local_address_provider_ = nullptr;
std::string name_;

Powered by Google App Engine
This is Rietveld 408576698