| Index: chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.h
|
| diff --git a/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.h b/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.h
|
| index 991d9ab22a586c18f3b096a4e764a35160d76b06..e3f8900bdf9a24be54d16a0b0952c17742fc0821 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.h
|
| +++ b/chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.h
|
| @@ -40,7 +40,7 @@ class FileStreamWriter : public storage::FileStreamWriter {
|
| class OperationRunner;
|
|
|
| // State of the file stream writer.
|
| - enum State { NOT_INITIALIZED, INITIALIZING, INITIALIZED, FAILED };
|
| + enum State { NOT_INITIALIZED, INITIALIZING, INITIALIZED, EXECUTING, FAILED };
|
|
|
| // Called when OperationRunner::WriteOnUIThread is completed.
|
| void OnWriteFileCompleted(int buffer_length,
|
| @@ -51,11 +51,6 @@ class FileStreamWriter : public storage::FileStreamWriter {
|
| // error.
|
| void OnWriteCompleted(net::CompletionCallback callback, int result);
|
|
|
| - // Called when Abort() operation is completed with either a success or an
|
| - // error.
|
| - void OnAbortCompleted(const net::CompletionCallback& callback,
|
| - base::File::Error result);
|
| -
|
| // Initializes the writer by opening the file. When completed with success,
|
| // runs the |pending_closure|. Otherwise, calls the |error_callback|.
|
| void Initialize(const base::Closure& pending_closure,
|
|
|