diff options
Diffstat (limited to 'remoting/protocol/buffered_socket_writer.h')
-rw-r--r-- | remoting/protocol/buffered_socket_writer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/protocol/buffered_socket_writer.h b/remoting/protocol/buffered_socket_writer.h index 46a3a7e..3bb03d3 100644 --- a/remoting/protocol/buffered_socket_writer.h +++ b/remoting/protocol/buffered_socket_writer.h @@ -41,7 +41,8 @@ class BufferedSocketWriterBase // Initializes the writer. Must be called on the thread that will be used // to access the socket in the future. |callback| will be called after each - // failed write. + // failed write. Caller retains ownership of |socket|. + // TODO(sergeyu): Change it so that it take ownership of |socket|. void Init(net::Socket* socket, WriteFailedCallback* callback); // Puts a new data chunk in the buffer. Returns false and doesn't enqueue |