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

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

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.cc ('k') | content/child/fileapi/webfilewriter_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/fileapi/webfilewriter_base.h
diff --git a/content/child/fileapi/webfilewriter_base.h b/content/child/fileapi/webfilewriter_base.h
index d7e220e7bb8e13d64aa64272e31d2b3afda871d7..415d286c7f7f295f1d615c47694f3ffe9f81f6b6 100644
--- a/content/child/fileapi/webfilewriter_base.h
+++ b/content/child/fileapi/webfilewriter_base.h
@@ -25,9 +25,12 @@ class CONTENT_EXPORT WebFileWriterBase
// WebFileWriter implementation
virtual void truncate(long long length);
- virtual void write(long long position, const WebKit::WebURL& blobURL);
+ virtual void write(long long position, const WebKit::WebString& id);
virtual void cancel();
+ // DEPRECATED: see crbug/174200
+ virtual void write(long long position, const WebKit::WebURL& blobURL);
+
protected:
// This calls DidSucceed() or DidFail() based on the value of |error_code|.
void DidFinish(base::PlatformFileError error_code);
@@ -40,8 +43,11 @@ class CONTENT_EXPORT WebFileWriterBase
// the requested operation, and they must call the appropiate DidSomething
// method upon completion and as progress is made in the Write case.
virtual void DoTruncate(const GURL& path, int64 offset) = 0;
+ virtual void DoWriteDeprecated(const GURL& path,
+ const GURL& blob_url,
+ int64 offset) = 0;
virtual void DoWrite(const GURL& path,
- const GURL& blob_url,
+ const std::string& blob_id,
int64 offset) = 0;
virtual void DoCancel() = 0;
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.cc ('k') | content/child/fileapi/webfilewriter_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698