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

Unified Diff: webrtc/base/asyncpacketsocket.h

Issue 1535943004: Multi-networking with Android L. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « talk/app/webrtc/java/jni/peerconnection_jni.cc ('k') | webrtc/base/asyncsocket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asyncpacketsocket.h
diff --git a/webrtc/base/asyncpacketsocket.h b/webrtc/base/asyncpacketsocket.h
index 949ec67c839d76c4c31e774182b826fdf6394aa3..b13788257d758ac1d6e2c8fdd7d0cdcf09a86fda 100644
--- a/webrtc/base/asyncpacketsocket.h
+++ b/webrtc/base/asyncpacketsocket.h
@@ -18,6 +18,8 @@
namespace rtc {
+class Network;
+
// This structure holds the info needed to update the packet send time header
// extension, including the information needed to update the authentication tag
// after changing the value.
@@ -104,6 +106,8 @@ class AsyncPacketSocket : public sigslot::has_slots<> {
virtual int GetError() const = 0;
virtual void SetError(int error) = 0;
+ virtual void BindToNetwork(const Network* network) {}
+
// Emitted each time a packet is read. Used only for UDP and
// connected TCP sockets.
sigslot::signal5<AsyncPacketSocket*, const char*, size_t,
« no previous file with comments | « talk/app/webrtc/java/jni/peerconnection_jni.cc ('k') | webrtc/base/asyncsocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698