| 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..887b57d011323003d2c26fd295bf483c132a9f26 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,9 +43,12 @@ 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 DoWrite(const GURL& path,
|
| + virtual void DoWriteDeprecated(const GURL& path,
|
| const GURL& blob_url,
|
| int64 offset) = 0;
|
| + virtual void DoWrite(const GURL& path,
|
| + const std::string& blob_id,
|
| + int64 offset) = 0;
|
| virtual void DoCancel() = 0;
|
|
|
| private:
|
|
|