Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: storage/browser/fileapi/local_file_stream_writer.h

Issue 942633004: IndexedDB: Fixed support for empty blobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted CREATE_NEW_FILE. Creating file before using FileStreamWriter. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: storage/browser/fileapi/local_file_stream_writer.h
diff --git a/storage/browser/fileapi/local_file_stream_writer.h b/storage/browser/fileapi/local_file_stream_writer.h
index 6771a14113e55221332b29e4516264d0e17e1d5a..41394a11f52745f78564d5ce620e56062daff56c 100644
--- a/storage/browser/fileapi/local_file_stream_writer.h
+++ b/storage/browser/fileapi/local_file_stream_writer.h
@@ -45,8 +45,7 @@ class STORAGE_EXPORT LocalFileStreamWriter
friend class FileStreamWriter;
LocalFileStreamWriter(base::TaskRunner* task_runner,
const base::FilePath& file_path,
- int64 initial_offset,
- OpenOrCreate open_or_create);
+ int64 initial_offset);
// Opens |file_path_| and if it succeeds, proceeds to InitiateSeek().
// If failed, the error code is returned by calling |error_callback|.
@@ -83,7 +82,6 @@ class STORAGE_EXPORT LocalFileStreamWriter
// Initialization parameters.
const base::FilePath file_path_;
- OpenOrCreate open_or_create_;
const int64 initial_offset_;
scoped_refptr<base::TaskRunner> task_runner_;

Powered by Google App Engine
This is Rietveld 408576698