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; |