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

Unified Diff: public/platform/WebBlobData.h

Issue 23992003: blob hacking webcore style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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..598271d70623752666c2be48ed3f9307b454dbfa 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
jsbell 2013/09/26 19:12:46 Is this used anywhere?
kinuko 2013/09/30 11:31:53 (on behalf of michaeln) it's for chromium-side imp
+
#if BLINK_IMPLEMENTATION
namespace WebCore { class BlobData; }
namespace WTF { template <typename T> class PassOwnPtr; }
@@ -48,20 +50,14 @@ class WebBlobData {
public:
struct Item {
// TypeURL is DEPRECATED
kinuko 2013/09/30 11:31:53 Can you remove this comment too?
michaeln 2013/09/30 20:50:24 done
- 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