Index: net/socket/tcp_socket_win.h |
diff --git a/net/socket/tcp_socket_win.h b/net/socket/tcp_socket_win.h |
index 1786af11ada0d8387e3ef08cd21eebc3c6c52636..2f3be4610d25ed25ba03ed891f2c0308dfe5793e 100644 |
--- a/net/socket/tcp_socket_win.h |
+++ b/net/socket/tcp_socket_win.h |
@@ -17,6 +17,7 @@ |
#include "net/base/address_family.h" |
#include "net/base/completion_callback.h" |
#include "net/base/net_export.h" |
+#include "net/base/socket_performance_watcher.h" |
#include "net/log/net_log.h" |
namespace net { |
@@ -28,7 +29,9 @@ class IPEndPoint; |
class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), |
public base::win::ObjectWatcher::Delegate { |
public: |
- TCPSocketWin(NetLog* net_log, const NetLog::Source& source); |
+ TCPSocketWin(scoped_ptr<SocketPerformanceWatcher> socket_performance_watcher, |
+ NetLog* net_log, |
+ const NetLog::Source& source); |
~TCPSocketWin() override; |
int Open(AddressFamily family); |
@@ -128,6 +131,9 @@ class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), |
SOCKET socket_; |
+ // |socket_performance_watcher_| may be nullptr. |
+ scoped_ptr<SocketPerformanceWatcher> socket_performance_watcher_; |
+ |
HANDLE accept_event_; |
base::win::ObjectWatcher accept_watcher_; |