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

Unified Diff: net/udp/datagram_client_socket.h

Issue 1327923002: Migrates QUIC sessions to a new network when old network is (about to be) disconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Fixes and responses to outstanding comments Created 5 years, 1 month 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: net/udp/datagram_client_socket.h
diff --git a/net/udp/datagram_client_socket.h b/net/udp/datagram_client_socket.h
index ac4632ed2e33ff27fbf1a2a8fb7f3f365660e2fe..5a967475506f749239fdb8453d142b1f67820e47 100644
--- a/net/udp/datagram_client_socket.h
+++ b/net/udp/datagram_client_socket.h
@@ -25,6 +25,10 @@ class NET_EXPORT_PRIVATE DatagramClientSocket : public DatagramSocket,
// Returns a net error code.
virtual int BindToNetwork(NetworkChangeNotifier::NetworkHandle network) = 0;
+ // Same as BindToNetwork, except that the current default network is used.
+ // Returns a net error code.
+ virtual int BindToDefaultNetwork() = 0;
+
// Initialize this socket as a client socket to server at |address|.
// Returns a network error code.
virtual int Connect(const IPEndPoint& address) = 0;

Powered by Google App Engine
This is Rietveld 408576698