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

Unified Diff: public/platform/WebBlobData.h

Issue 26435003: WebCore blob hacking (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
Index: public/platform/WebBlobData.h
diff --git a/public/platform/WebBlobData.h b/public/platform/WebBlobData.h
index 96c5fdaa18f1150e4fcaa685faf4d7e4ccb641bd..b02910b028cfe4adfd7fe8ba2ad581f98f55d79e 100644
--- a/public/platform/WebBlobData.h
+++ b/public/platform/WebBlobData.h
@@ -35,6 +35,8 @@
#include "WebThreadSafeData.h"
#include "WebURL.h"
+#define USE_BLOB_UUIDS
+
#if BLINK_IMPLEMENTATION
namespace WebCore { class BlobData; }
namespace WTF { template <typename T> class PassOwnPtr; }
@@ -47,21 +49,14 @@ class WebBlobDataPrivate;
class WebBlobData {
public:
struct Item {
- // TypeURL is DEPRECATED
- enum { TypeData, TypeFile, TypeBlob, TypeFileSystemURL, TypeURL = TypeFileSystemURL } type;
+ enum { TypeData, TypeFile, TypeBlob, TypeFileSystemURL } type;
WebThreadSafeData data;
+ WebString blobUUID;
WebString filePath;
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.
-
- // DEPRECATED, use fileSystemURL
- WebURL url;
-
- // FIXME: deprecate url and use uuid
- WebURL blobURL;
- WebString blobUUID;
};
~WebBlobData() { reset(); }

Powered by Google App Engine
This is Rietveld 408576698