Index: net/curvecp/messenger.h |
diff --git a/net/curvecp/messenger.h b/net/curvecp/messenger.h |
index bb67946a9bfc4fb4cab4dca934e273b45ec16f20..b71c684f819c9122b1d11a1ae077cfa1cbe2cebe 100644 |
--- a/net/curvecp/messenger.h |
+++ b/net/curvecp/messenger.h |
@@ -36,6 +36,7 @@ class Messenger : public base::NonThreadSafe, |
int Read(IOBuffer* buf, int buf_len, OldCompletionCallback* callback); |
int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback); |
int Write(IOBuffer* buf, int buf_len, OldCompletionCallback* callback); |
+ int Write(IOBuffer* buf, int buf_len, const CompletionCallback& callback); |
// Packetizer::Listener implementation. |
virtual void OnConnection(ConnectionKey key) OVERRIDE; |
@@ -71,7 +72,8 @@ class Messenger : public base::NonThreadSafe, |
// The send_buffer is a list of pending data to pack into messages and send |
// to the remote. |
CircularBuffer send_buffer_; |
- OldCompletionCallback* send_complete_callback_; |
+ OldCompletionCallback* old_send_complete_callback_; |
+ CompletionCallback send_complete_callback_; |
scoped_refptr<IOBuffer> pending_send_; |
int pending_send_length_; |