Index: net/socket/ssl_server_socket_unittest.cc |
=================================================================== |
--- net/socket/ssl_server_socket_unittest.cc (revision 113718) |
+++ net/socket/ssl_server_socket_unittest.cc (working copy) |
@@ -85,14 +85,6 @@ |
&FakeDataChannel::DoReadCallback)); |
return buf_len; |
} |
- virtual int Write(IOBuffer* buf, int buf_len, |
- const CompletionCallback& callback) { |
- data_.push(new net::DrainableIOBuffer(buf, buf_len)); |
- MessageLoop::current()->PostTask( |
- FROM_HERE, task_factory_.NewRunnableMethod( |
- &FakeDataChannel::DoReadCallback)); |
- return buf_len; |
- } |
private: |
void DoReadCallback() { |
@@ -168,12 +160,6 @@ |
buf_len = rand() % buf_len + 1; |
return outgoing_->Write(buf, buf_len, callback); |
} |
- virtual int Write(IOBuffer* buf, int buf_len, |
- const CompletionCallback& callback) { |
- // Write random number of bytes. |
- buf_len = rand() % buf_len + 1; |
- return outgoing_->Write(buf, buf_len, callback); |
- } |
virtual bool SetReceiveBufferSize(int32 size) { |
return true; |
Property changes on: net/socket/ssl_server_socket_unittest.cc |
___________________________________________________________________ |
Deleted: svn:mergeinfo |