| Index: net/base/file_stream.h
|
| diff --git a/net/base/file_stream.h b/net/base/file_stream.h
|
| index 850c78fe2288625bca16d8af5643808517dfc8fc..2c8ae95e7fde52789ab2af163db0d3563abb8527 100644
|
| --- a/net/base/file_stream.h
|
| +++ b/net/base/file_stream.h
|
| @@ -64,7 +64,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
|
| @@ -82,7 +83,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(Whence whence, int64 offset,
|
| + virtual int Seek(Whence whence,
|
| + int64 offset,
|
| const Int64CompletionCallback& callback);
|
|
|
| // Call this method to read data from the current stream position
|
| @@ -105,7 +107,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
|
| @@ -130,7 +133,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
|
|
|