| Index: webkit/browser/fileapi/file_stream_writer.h
|
| diff --git a/webkit/browser/fileapi/file_stream_writer.h b/webkit/browser/fileapi/file_stream_writer.h
|
| index 3a30ab26e05e7a48f6a2a16880c7edd0d175b60b..1ebdfb9191af2a0b2a7b5fd4fc12ff8e4d96330c 100644
|
| --- a/webkit/browser/fileapi/file_stream_writer.h
|
| +++ b/webkit/browser/fileapi/file_stream_writer.h
|
| @@ -23,15 +23,12 @@
|
| // A generic interface for writing to a file-like object.
|
| class FileStreamWriter {
|
| public:
|
| - enum OpenOrCreate { OPEN_EXISTING_FILE, CREATE_NEW_FILE };
|
| -
|
| // Creates a writer for the existing file in the path |file_path| starting
|
| // from |initial_offset|. Uses |task_runner| for async file operations.
|
| WEBKIT_STORAGE_BROWSER_EXPORT static FileStreamWriter* CreateForLocalFile(
|
| base::TaskRunner* task_runner,
|
| const base::FilePath& file_path,
|
| - int64 initial_offset,
|
| - OpenOrCreate open_or_create);
|
| + int64 initial_offset);
|
|
|
| // Closes the file. If there's an in-flight operation, it is canceled (i.e.,
|
| // the callback function associated with the operation is not called).
|
|
|