diff options
Diffstat (limited to 'net/base/mock_file_stream.cc')
-rw-r--r-- | net/base/mock_file_stream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/mock_file_stream.cc b/net/base/mock_file_stream.cc index 1a8f1b8..19a027f 100644 --- a/net/base/mock_file_stream.cc +++ b/net/base/mock_file_stream.cc @@ -23,7 +23,7 @@ int64 MockFileStream::Available() { int MockFileStream::Read(char* buf, int buf_len, - net::CompletionCallback* callback) { + net::OldCompletionCallback* callback) { return ReturnError(net::FileStream::Read(buf, buf_len, callback)); } @@ -33,7 +33,7 @@ int MockFileStream::ReadUntilComplete(char *buf, int buf_len) { int MockFileStream::Write(const char* buf, int buf_len, - net::CompletionCallback* callback) { + net::OldCompletionCallback* callback) { return ReturnError(net::FileStream::Write(buf, buf_len, callback)); } |