Chromium Code Reviews| 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(); } |