Chromium Code Reviews| Index: webkit/browser/fileapi/copy_or_move_operation_delegate.h |
| diff --git a/webkit/browser/fileapi/copy_or_move_operation_delegate.h b/webkit/browser/fileapi/copy_or_move_operation_delegate.h |
| index 3ab58c8294df781251c19f86eefe9cd002407d9b..7918868b952741c5b2b00ee341dda4dd5923c74c 100644 |
| --- a/webkit/browser/fileapi/copy_or_move_operation_delegate.h |
| +++ b/webkit/browser/fileapi/copy_or_move_operation_delegate.h |
| @@ -73,8 +73,8 @@ class CopyOrMoveOperationDelegate |
| scoped_refptr<net::DrainableIOBuffer> buffer, int result); |
| // Flushes the written content in |writer_|. |
| - void Flush(const StatusCallback& callback); |
| - void DidFlush(const StatusCallback& callback, int result); |
| + void Flush(const StatusCallback& callback, bool is_eof); |
| + void DidFlush(const StatusCallback& callback, bool is_eof, int result); |
| scoped_ptr<webkit_blob::FileStreamReader> reader_; |
| scoped_ptr<FileStreamWriter> writer_; |
| @@ -82,6 +82,7 @@ class CopyOrMoveOperationDelegate |
| FileSystemOperation::CopyFileProgressCallback file_progress_callback_; |
| scoped_refptr<net::IOBufferWithSize> io_buffer_; |
| int64 num_copied_bytes_; |
| + int64 previous_flush_; |
|
kinuko
2013/12/13 10:42:01
nit: previous_flush_ -> previous_flush_offset_ or
kinaba
2013/12/14 05:14:19
sg. done.
|
| base::Time last_progress_callback_invocation_time_; |
| base::TimeDelta min_progress_callback_invocation_span_; |
| bool cancel_requested_; |