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

Unified Diff: webkit/blob/blob_storage_controller.h

Issue 10834289: Split net::UploadData into two: for IPC and for upload handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 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
diff --git a/webkit/blob/blob_storage_controller.h b/webkit/blob/blob_storage_controller.h
index a32fab3eb46f732a8b24da30488a32f3c6d922b3..ee7a1c439d66d8527f8439280f11cc2c500aca11 100644
--- a/webkit/blob/blob_storage_controller.h
+++ b/webkit/blob/blob_storage_controller.h
@@ -13,6 +13,7 @@
#include "base/process.h"
#include "webkit/blob/blob_data.h"
#include "webkit/blob/blob_export.h"
+#include "webkit/glue/resource_request_body.h"
class GURL;
class FilePath;
@@ -20,8 +21,9 @@ class FilePath;
namespace base {
class Time;
}
-namespace net {
-class UploadData;
+
+namespace webkit_glue {
+class ResourceRequestBody;
}
namespace webkit_blob {
@@ -40,9 +42,10 @@ class BLOB_EXPORT BlobStorageController {
void RemoveBlob(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);
+ // If there is any blob reference in the resource request body, it will get
+ // resolved and updated in place.
+ void ResolveBlobReferencesInResourceRequestBody(
+ webkit_glue::ResourceRequestBody* resource_request_body);
private:
friend class ViewBlobInternalsJob;

Powered by Google App Engine
This is Rietveld 408576698