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

Unified Diff: net/socket/socket_test_util.cc

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.h ('k') | net/udp/datagram_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.cc
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index 0b99c5df2c011857530ca9ce0cdf01cfc278ebad..96515c33779d6fb692bd249714aea857d6229d00 100644
--- a/net/socket/socket_test_util.cc
+++ b/net/socket/socket_test_util.cc
@@ -1348,7 +1348,8 @@ int MockUDPClientSocket::BindToDefaultNetwork() {
return ERR_NOT_IMPLEMENTED;
}
-NetworkChangeNotifier::NetworkHandle MockUDPClientSocket::GetBoundNetwork() {
+NetworkChangeNotifier::NetworkHandle MockUDPClientSocket::GetBoundNetwork()
+ const {
return NetworkChangeNotifier::kInvalidNetworkHandle;
}
« no previous file with comments | « net/socket/socket_test_util.h ('k') | net/udp/datagram_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698