| 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,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "net/base/listen_socket.h"
|
| #include "net/base/net_export.h"
|
|
|
| @@ -103,7 +104,12 @@
|
| private:
|
| bool reads_paused_;
|
| bool has_pending_reads_;
|
| + bool has_pending_writes_;
|
| + std::string send_data_;
|
|
|
| + // Used to continue sending data asynchronously.
|
| + base::WeakPtrFactory<TCPListenSocket> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TCPListenSocket);
|
| };
|
|
|
|
|