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

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

Issue 18023022: Blob support for IDB [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge fixes [builds, untested] Created 7 years, 3 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: webkit/browser/fileapi/local_file_stream_writer.h
diff --git a/webkit/browser/fileapi/local_file_stream_writer.h b/webkit/browser/fileapi/local_file_stream_writer.h
index 08e12e80e41bd8103221163775080e38015ea961..c3ac63608d459fd31eaf419def6cc1fdefef1f74 100644
--- a/webkit/browser/fileapi/local_file_stream_writer.h
+++ b/webkit/browser/fileapi/local_file_stream_writer.h
@@ -30,7 +30,8 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE LocalFileStreamWriter
// Creates a writer for the existing file in the path |file_path| starting
// from |initial_offset|. Uses |task_runner| for async file operations.
LocalFileStreamWriter(base::TaskRunner* task_runner,
- const base::FilePath& file_path, int64 initial_offset);
+ const base::FilePath& file_path, int64 initial_offset,
+ bool open_not_create);
virtual ~LocalFileStreamWriter();
// FileStreamWriter overrides.
@@ -75,6 +76,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE LocalFileStreamWriter
// Initialization parameters.
const base::FilePath file_path_;
+ bool open_not_create_;
const int64 initial_offset_;
scoped_refptr<base::TaskRunner> task_runner_;

Powered by Google App Engine
This is Rietveld 408576698