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

Unified Diff: webkit/blob/blob_storage_controller.h

Issue 3282003: Support handling blob URL and resolve blob references in upload data.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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: webkit/blob/blob_storage_controller.h
===================================================================
--- webkit/blob/blob_storage_controller.h (revision 57912)
+++ webkit/blob/blob_storage_controller.h (working copy)
@@ -11,6 +11,10 @@
class GURL;
+namespace net {
+class UploadData;
+}
+
namespace webkit_blob {
class BlobData;
@@ -26,6 +30,10 @@
void UnregisterBlobUrl(const GURL& url);
BlobData* GetBlobDataFromUrl(const GURL& url);
+ // If there is any blob reference in the upload data, it will get resolved
+ // and updated in place.
+ void ResolveBlobReferencesInUploadData(net::UploadData* upload_data);
+
private:
void AppendStorageItems(BlobData* target_blob_data,
BlobData* src_blob_data,

Powered by Google App Engine
This is Rietveld 408576698