| 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..2247c87202eaf6fbd7771a127aed35fbdb051160 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_offset_;
|
| base::Time last_progress_callback_invocation_time_;
|
| base::TimeDelta min_progress_callback_invocation_span_;
|
| bool cancel_requested_;
|
|
|