| Index: Platform/chromium/public/WebHTTPBody.h
|
| ===================================================================
|
| --- Platform/chromium/public/WebHTTPBody.h (revision 140218)
|
| +++ Platform/chromium/public/WebHTTPBody.h (working copy)
|
| @@ -48,16 +48,14 @@
|
| class WebHTTPBody {
|
| public:
|
| struct Element {
|
| - enum Type { TypeData, TypeFile, TypeBlob, TypeURL } type;
|
| + enum Type { TypeData, TypeFile, TypeBlob, TypeFileSystemURL } type;
|
| WebData data;
|
| WebString filePath;
|
| long long fileStart;
|
| long long fileLength; // -1 means to the end of the file.
|
| double modificationTime;
|
| - WebURL url; // For TypeBlob or TypeURL.
|
| -
|
| - // FIXME: deprecate this.
|
| - WebURL blobURL;
|
| + WebURL fileSystemURL;
|
| + WebString blobUUID;
|
| };
|
|
|
| ~WebHTTPBody() { reset(); }
|
| @@ -88,7 +86,7 @@
|
| WEBKIT_EXPORT void appendFile(const WebString&);
|
| // Passing -1 to fileLength means to the end of the file.
|
| WEBKIT_EXPORT void appendFileRange(const WebString&, long long fileStart, long long fileLength, double modificationTime);
|
| - WEBKIT_EXPORT void appendBlob(const WebURL&);
|
| + WEBKIT_EXPORT void appendBlob(const WebString& blobUUID);
|
|
|
| // Append a resource which is identified by URL. Currently we only support FileSystem URL.
|
| WEBKIT_EXPORT void appendURLRange(const WebURL&, long long start, long long length, double modificationTime);
|
|
|