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

Unified Diff: public/platform/WebFileWriter.h

Issue 23703003: Couple of minor changes to the WebKitAPI. This is a small step in a larger work-in-progress. See th… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 | « public/platform/WebBlobRegistry.h ('k') | public/platform/WebHTTPBody.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebFileWriter.h
diff --git a/public/platform/WebFileWriter.h b/public/platform/WebFileWriter.h
index d2f164d4e474999c605c86e325304ea69f1e320f..1b3d67392bd155d01429e0b4727c5cdb156f8ebb 100644
--- a/public/platform/WebFileWriter.h
+++ b/public/platform/WebFileWriter.h
@@ -36,6 +36,7 @@
namespace WebKit {
+class WebString;
class WebURL;
class WebFileWriter {
@@ -44,7 +45,8 @@ public:
// Only one write or one truncate operation can be in progress at a time.
// These functions are asynchronous and will report results through the WebFileWriter's associated WebFileWriterClient.
- virtual void write(long long position, const WebURL& blobURL) = 0;
+ virtual void write(long long position, const WebURL& blobURL) { } // DEPRECATED
+ virtual void write(long long position, const WebString& blobUUID) { }
virtual void truncate(long long length) = 0;
// Cancel will attempt to abort a running write or truncate. However, it may not be possible to cancel an in-progress action, or the call may have come in too late. Partial writes are possible.
« no previous file with comments | « public/platform/WebBlobRegistry.h ('k') | public/platform/WebHTTPBody.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698