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

Unified Diff: webrtc/base/natsocketfactory.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/natsocketfactory.cc
diff --git a/webrtc/base/natsocketfactory.cc b/webrtc/base/natsocketfactory.cc
index 0abd2a1b056d80b600a667cabbb59b4637e0a2e8..7820deaa9ee36e38aabf070bdf752f10e7792bed 100644
--- a/webrtc/base/natsocketfactory.cc
+++ b/webrtc/base/natsocketfactory.cc
@@ -109,6 +109,8 @@ class NATSocket : public AsyncSocket, public sigslot::has_slots<> {
return result;
}
+ int BindToNetwork(NetworkHandle net_handle) override { return 0; }
+
int Connect(const SocketAddress& addr) override {
if (!socket_) { // socket must be bound, for now
return -1;

Powered by Google App Engine
This is Rietveld 408576698