| Index: net/base/file_stream.h
|
| diff --git a/net/base/file_stream.h b/net/base/file_stream.h
|
| index 89db65e15b5ae49e50de78874e64c3babf7df640..f564ea12a22c32f174faadadd786c4e073bf09a5 100644
|
| --- a/net/base/file_stream.h
|
| +++ b/net/base/file_stream.h
|
| @@ -50,7 +50,8 @@ class NET_EXPORT FileStream {
|
| // automatically closed when FileStream is destructed in an asynchronous
|
| // manner (i.e. the file stream is closed in the background but you don't
|
| // know when).
|
| - virtual int Open(const base::FilePath& path, int open_flags,
|
| + virtual int Open(const base::FilePath& path,
|
| + int open_flags,
|
| const CompletionCallback& callback);
|
|
|
| // Returns ERR_IO_PENDING and closes the file asynchronously, calling
|
| @@ -68,7 +69,8 @@ class NET_EXPORT FileStream {
|
| // relative to the start of the file. Otherwise, an error code is returned.
|
| // It is invalid to request any asynchronous operations while there is an
|
| // in-flight asynchronous operation.
|
| - virtual int Seek(base::File::Whence whence, int64 offset,
|
| + virtual int Seek(base::File::Whence whence,
|
| + int64 offset,
|
| const Int64CompletionCallback& callback);
|
|
|
| // Call this method to read data from the current stream position
|
| @@ -91,7 +93,8 @@ class NET_EXPORT FileStream {
|
| // in-flight asynchronous operation.
|
| //
|
| // This method must not be called if the stream was opened WRITE_ONLY.
|
| - virtual int Read(IOBuffer* buf, int buf_len,
|
| + virtual int Read(IOBuffer* buf,
|
| + int buf_len,
|
| const CompletionCallback& callback);
|
|
|
| // Call this method to write data at the current stream position
|
| @@ -116,7 +119,8 @@ class NET_EXPORT FileStream {
|
| // This method must not be called if the stream was opened READ_ONLY.
|
| //
|
| // Zero byte writes are not allowed.
|
| - virtual int Write(IOBuffer* buf, int buf_len,
|
| + virtual int Write(IOBuffer* buf,
|
| + int buf_len,
|
| const CompletionCallback& callback);
|
|
|
| // Forces out a filesystem sync on this file to make sure that the file was
|
|
|