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

Unified Diff: webrtc/base/asyncsocket.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 | « webrtc/base/asyncpacketsocket.h ('k') | webrtc/base/asyncudpsocket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asyncsocket.h
diff --git a/webrtc/base/asyncsocket.h b/webrtc/base/asyncsocket.h
index 7a859be962b56ae656dcd768f009777665c6913e..a4b9f5ca75561e1aeae89087662248243510da83 100644
--- a/webrtc/base/asyncsocket.h
+++ b/webrtc/base/asyncsocket.h
@@ -27,6 +27,8 @@ class AsyncSocket : public Socket {
AsyncSocket* Accept(SocketAddress* paddr) override = 0;
+ virtual int BindToNetwork(NetworkHandle handle) = 0;
+
// SignalReadEvent and SignalWriteEvent use multi_threaded_local to allow
// access concurrently from different thread.
// For example SignalReadEvent::connect will be called in AsyncUDPSocket ctor
@@ -60,6 +62,7 @@ class AsyncSocketAdapter : public AsyncSocket, public sigslot::has_slots<> {
int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override;
int Listen(int backlog) override;
AsyncSocket* Accept(SocketAddress* paddr) override;
+ int BindToNetwork(NetworkHandle handle) override { return 0; }
int Close() override;
int GetError() const override;
void SetError(int error) override;
« no previous file with comments | « webrtc/base/asyncpacketsocket.h ('k') | webrtc/base/asyncudpsocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698