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

Unified Diff: Platform/chromium/public/WebHTTPBody.h

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 11 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 | « Platform/chromium/public/WebFileSystem.h ('k') | WebCore/Modules/filesystem/DOMFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Platform/chromium/public/WebFileSystem.h ('k') | WebCore/Modules/filesystem/DOMFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698