Index: remoting/protocol/buffered_socket_writer.h |
diff --git a/remoting/protocol/buffered_socket_writer.h b/remoting/protocol/buffered_socket_writer.h |
index 46a3a7e8cdc560397fab6c57e18f53dbfa8d4424..3bb03d344e724681e8bd0a1d847ff2f75cafcf58 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 |