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

Unified Diff: webkit/glue/resource_request_body.h

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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/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_;

Powered by Google App Engine
This is Rietveld 408576698