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

Unified Diff: public/platform/WebBlobData.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 | « Source/web/WebBlobData.cpp ('k') | public/platform/WebBlobRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebBlobData.h
diff --git a/public/platform/WebBlobData.h b/public/platform/WebBlobData.h
index 47d9132e77166c3245ecadc942ddc553f478ea9d..54a74e9dacc5fb6e42b892542052134b2deabf38 100644
--- a/public/platform/WebBlobData.h
+++ b/public/platform/WebBlobData.h
@@ -47,16 +47,21 @@ class WebBlobDataPrivate;
class WebBlobData {
public:
struct Item {
- enum { TypeData, TypeFile, TypeBlob, TypeURL } type;
+ // TypeURL is DEPRECATED
+ enum { TypeData, TypeFile, TypeBlob, TypeFileSystemURL, TypeURL = TypeFileSystemURL } type;
WebThreadSafeData data;
WebString filePath;
- WebURL url; // For TypeBlob or TypeURL.
+ WebURL fileSystemURL;
long long offset;
long long length; // -1 means go to the end of the file/blob.
double expectedModificationTime; // 0.0 means that the time is not set.
- // FIXME: deprecate this.
+ // DEPRECATED, use fileSystemURL
+ WebURL url;
+
+ // FIXME: deprecate url and use uuid
WebURL blobURL;
+ WebString blobUUID;
};
~WebBlobData() { reset(); }
« no previous file with comments | « Source/web/WebBlobData.cpp ('k') | public/platform/WebBlobRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698