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

Unified Diff: webrtc/base/virtualsocketserver.cc

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/virtualsocketserver.cc
diff --git a/webrtc/base/virtualsocketserver.cc b/webrtc/base/virtualsocketserver.cc
index c6d402f1f3f27877b3e13a0afba8aa6c613da9ce..1fcf4b5c4aa68742dd4126c55f5630c51f659191 100644
--- a/webrtc/base/virtualsocketserver.cc
+++ b/webrtc/base/virtualsocketserver.cc
@@ -164,6 +164,10 @@ int VirtualSocket::Connect(const SocketAddress& addr) {
return InitiateConnect(addr, true);
}
+int VirtualSocket::BindToNetwork(NetworkHandle handle) {
+ return 0;
+}
+
int VirtualSocket::Close() {
if (!local_addr_.IsNil() && bound_) {
// Remove from the binding table.

Powered by Google App Engine
This is Rietveld 408576698