Index: content/child/fileapi/webfilewriter_base.h |
diff --git a/content/child/fileapi/webfilewriter_base.h b/content/child/fileapi/webfilewriter_base.h |
index d3873dc1fb6fb2bc15de94e17c9bb3af7705d018..c3abfe7b3bca0a72a9547d7fbe4556b7f7aafc05 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; |