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

Unified Diff: public/platform/WebHTTPBody.h

Issue 23992003: blob hacking webcore style (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/WebHTTPBody.h
diff --git a/public/platform/WebHTTPBody.h b/public/platform/WebHTTPBody.h
index 2057db428db4423d7cbffd973e7854cf86d173ef..6dcddecd3d266466b0f494f86c118daa9233af98 100644
--- a/public/platform/WebHTTPBody.h
+++ b/public/platform/WebHTTPBody.h
@@ -31,6 +31,7 @@
#ifndef WebHTTPBody_h
#define WebHTTPBody_h
+#include "WebBlobData.h"
#include "WebData.h"
#include "WebNonCopyable.h"
#include "WebString.h"
@@ -55,12 +56,6 @@ public:
long long fileLength; // -1 means to the end of the file.
double modificationTime;
WebURL fileSystemURL;
-
- // DEPRECATED, use fileSystemURL
- WebURL url;
-
- // FIXME: deprecate url and use uuid
- WebURL blobURL;
WebString blobUUID;
};
@@ -92,11 +87,10 @@ public:
BLINK_EXPORT void appendFile(const WebString&);
// Passing -1 to fileLength means to the end of the file.
BLINK_EXPORT void appendFileRange(const WebString&, long long fileStart, long long fileLength, double modificationTime);
- BLINK_EXPORT void appendBlob(const WebURL&); // FIXME: deprecate this
+ BLINK_EXPORT void appendBlob(const WebString& uuid);
// Append a resource which is identified by the FileSystem URL.
BLINK_EXPORT void appendFileSystemURLRange(const WebURL&, long long start, long long length, double modificationTime);
- BLINK_EXPORT void appendURLRange(const WebURL&, long long start, long long length, double modificationTime); // DEPRECATED
// Identifies a particular form submission instance. A value of 0 is
// used to indicate an unspecified identifier.
« no previous file with comments | « public/platform/WebBlobData.h ('k') | public/web/WebBlob.h » ('j') | public/web/WebBlob.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698