Index: webkit/glue/resource_request_body.h |
=================================================================== |
--- webkit/glue/resource_request_body.h (revision 171309) |
+++ webkit/glue/resource_request_body.h (working copy) |
@@ -5,6 +5,7 @@ |
#ifndef WEBKIT_GLUE_RESOURCE_REQUEST_BODY_H_ |
#define WEBKIT_GLUE_RESOURCE_REQUEST_BODY_H_ |
+#include <string> |
#include <vector> |
#include "base/basictypes.h" |
@@ -19,7 +20,7 @@ |
} |
namespace webkit_blob { |
-class BlobStorageController; |
+class BlobStorageContext; |
} |
namespace webkit_glue { |
@@ -38,7 +39,7 @@ |
void AppendFileRange(const FilePath& file_path, |
uint64 offset, uint64 length, |
const base::Time& expected_modification_time); |
- void AppendBlob(const GURL& blob_url); |
+ void AppendBlob(const std::string& uuid); |
void AppendFileSystemFileRange(const GURL& url, uint64 offset, uint64 length, |
const base::Time& expected_modification_time); |
@@ -46,7 +47,7 @@ |
// any blob references using given |blob_controller|. |
// TODO(kinuko): Clean up this hack. |
net::UploadData* ResolveElementsAndCreateUploadData( |
- webkit_blob::BlobStorageController* blob_controller); |
+ webkit_blob::BlobStorageContext* blob_context); |
const std::vector<Element>* elements() const { return &elements_; } |
std::vector<Element>* elements_mutable() { return &elements_; } |
@@ -66,8 +67,8 @@ |
// Resolves the |blob_url| using |blob_controller| and appends resolved |
// items to |resolved_elements|. |
- void ResolveBlobReference(webkit_blob::BlobStorageController* blob_controller, |
- const GURL& blob_url, |
+ void ResolveBlobReference(webkit_blob::BlobStorageContext* blob_context, |
+ const std::string& uuid, |
std::vector<const Element*>* resolved_elements); |
std::vector<Element> elements_; |