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

Unified Diff: net/udp/datagram_client_socket.h

Issue 1541003003: Makes DatagramClientSocket::GetBoundNetwork const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quicreader
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 | « net/socket/socket_test_util.cc ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/udp/datagram_client_socket.h
diff --git a/net/udp/datagram_client_socket.h b/net/udp/datagram_client_socket.h
index eecd7f31cd0e664774a3bd007d115f19daa9d375..e8d54c18d515c9db817a3870d8a5b597f957e6c8 100644
--- a/net/udp/datagram_client_socket.h
+++ b/net/udp/datagram_client_socket.h
@@ -32,7 +32,7 @@ class NET_EXPORT_PRIVATE DatagramClientSocket : public DatagramSocket,
// Returns the network that either BindToNetwork() or BindToDefaultNetwork()
// bound this socket to. Returns NetworkChangeNotifier::kInvalidNetworkHandle
// if not explicitly bound via BindToNetwork() or BindToDefaultNetwork().
- virtual NetworkChangeNotifier::NetworkHandle GetBoundNetwork() = 0;
+ virtual NetworkChangeNotifier::NetworkHandle GetBoundNetwork() const = 0;
// Initialize this socket as a client socket to server at |address|.
// Returns a network error code.
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/udp/udp_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698