diff options
Diffstat (limited to 'net/base/file_stream.h')
-rw-r--r-- | net/base/file_stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/file_stream.h b/net/base/file_stream.h index 0a800b4..4c92955 100644 --- a/net/base/file_stream.h +++ b/net/base/file_stream.h @@ -85,7 +85,7 @@ class NET_EXPORT FileStream { // This method should not be called if the stream was opened WRITE_ONLY. // // You can pass NULL as the callback for synchronous I/O. - virtual int Read(char* buf, int buf_len, CompletionCallback* callback); + virtual int Read(char* buf, int buf_len, OldCompletionCallback* callback); // Performs the same as Read, but ensures that exactly buf_len bytes // are copied into buf. A partial read may occur, but only as a result of @@ -113,7 +113,7 @@ class NET_EXPORT FileStream { // This method should not be called if the stream was opened READ_ONLY. // // You can pass NULL as the callback for synchronous I/O. - virtual int Write(const char* buf, int buf_len, CompletionCallback* callback); + virtual int Write(const char* buf, int buf_len, OldCompletionCallback* callback); // Truncates the file to be |bytes| length. This is only valid for writable // files. After truncation the file stream is positioned at |bytes|. The new |