Index: net/base/tcp_listen_socket.h |
=================================================================== |
--- net/base/tcp_listen_socket.h (revision 135347) |
+++ net/base/tcp_listen_socket.h (working copy) |
@@ -26,6 +26,8 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/timer.h" |
+#include "net/base/backoff_entry.h" |
#include "net/base/listen_socket.h" |
#include "net/base/net_export.h" |
@@ -101,9 +103,17 @@ |
SOCKET socket_; |
private: |
+ void SendData(); |
+ |
bool reads_paused_; |
bool has_pending_reads_; |
+ std::string send_data_; |
+ bool send_data_error_; |
+ net::BackoffEntry send_data_backoff_; |
+ // Used to continue sending data asynchronously. |
+ base::OneShotTimer<TCPListenSocket> send_timer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TCPListenSocket); |
}; |