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

Unified Diff: content/child/fileapi/webfilewriter_impl.h

Issue 22363002: 2nd try: Support synchronous mode in WebFileWriterImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilewriter_impl.h
diff --git a/content/child/fileapi/webfilewriter_impl.h b/content/child/fileapi/webfilewriter_impl.h
index a9e574e3ea91d62a86d35de9f369d0842952aa5e..e7b49b67b3cbb7c88573420498cde3e4ecd2f151 100644
--- a/content/child/fileapi/webfilewriter_impl.h
+++ b/content/child/fileapi/webfilewriter_impl.h
@@ -16,8 +16,14 @@ namespace content {
class WebFileWriterImpl : public fileapi::WebFileWriterBase,
public base::SupportsWeakPtr<WebFileWriterImpl> {
public:
+ enum Type {
+ TYPE_SYNC,
+ TYPE_ASYNC,
+ };
+
WebFileWriterImpl(const GURL& path,
WebKit::WebFileWriterClient* client,
+ Type type,
base::MessageLoopProxy* main_thread_loop);
virtual ~WebFileWriterImpl();
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/fileapi/webfilewriter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698