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

Unified Diff: chrome/browser/net/network_stats.h

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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 | « chrome/browser/extensions/api/socket/socket_api_controller.cc ('k') | chrome/browser/net/network_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/network_stats.h
diff --git a/chrome/browser/net/network_stats.h b/chrome/browser/net/network_stats.h
index e241899ae4793cc68666ada1ecb438bc3cf5303e..c18bf91e8fb3c8b565c60a43f3fffe71c885a1f9 100644
--- a/chrome/browser/net/network_stats.h
+++ b/chrome/browser/net/network_stats.h
@@ -177,12 +177,6 @@ class NetworkStats {
// HostResolver fills out the |addresses_| after host resolution is completed.
net::AddressList addresses_;
- // Callback to call when data is read from the server.
- net::OldCompletionCallbackImpl<NetworkStats> read_callback_;
-
- // Callback to call when data is sent to the server.
- net::OldCompletionCallbackImpl<NetworkStats> write_callback_;
-
// Callback to call when echo protocol is successefully finished or whenever
// there is an error (this allows unittests to wait until echo protocol's
// round trip is finished).
@@ -248,9 +242,6 @@ class TCPStatsClient : public NetworkStats {
// Callback that is called when connect is completed and calls
// ConnectComplete() to start the echo protocol.
void OnConnectComplete(int result);
-
- // Callback to call when connect is completed.
- net::OldCompletionCallbackImpl<TCPStatsClient> connect_callback_;
};
// This collects the network connectivity stats for UDP and TCP for small
« no previous file with comments | « chrome/browser/extensions/api/socket/socket_api_controller.cc ('k') | chrome/browser/net/network_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698