Index: storage/browser/fileapi/file_stream_writer.h |
diff --git a/storage/browser/fileapi/file_stream_writer.h b/storage/browser/fileapi/file_stream_writer.h |
index cc191dc9fc3c10f8d4dfc3e94b613d4cb0a5b171..9a9824ca93e2d2e745143eca4d0837a05eccbe00 100644 |
--- a/storage/browser/fileapi/file_stream_writer.h |
+++ b/storage/browser/fileapi/file_stream_writer.h |
@@ -23,15 +23,12 @@ namespace storage { |
// 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. |
STORAGE_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). |