Index: net/socket/tcp_client_socket_win.h |
=================================================================== |
--- net/socket/tcp_client_socket_win.h (revision 90003) |
+++ net/socket/tcp_client_socket_win.h (working copy) |
@@ -9,6 +9,7 @@ |
#include <winsock2.h> |
#include "base/memory/scoped_ptr.h" |
+#include "base/time.h" |
#include "base/threading/non_thread_safe.h" |
#include "net/base/address_list.h" |
#include "net/base/completion_callback.h" |
@@ -53,6 +54,8 @@ |
virtual void SetOmniboxSpeculation(); |
virtual bool WasEverUsed() const; |
virtual bool UsingTCPFastOpen() const; |
+ virtual int64 NumBytesRead() const; |
+ virtual int GetConnectTimeMicros() const; |
// Socket methods: |
// Multiple outstanding requests are not supported. |
@@ -141,6 +144,10 @@ |
// histograms. |
UseHistory use_history_; |
+ base::TimeTicks connect_start_time_; |
+ int64 num_bytes_read_; |
+ int connect_time_micros_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TCPClientSocketWin); |
}; |