Index: content/browser/loader/resource_dispatcher_host_impl.cc |
=================================================================== |
--- content/browser/loader/resource_dispatcher_host_impl.cc (revision 171309) |
+++ content/browser/loader/resource_dispatcher_host_impl.cc (working copy) |
@@ -77,7 +77,9 @@ |
#include "net/url_request/url_request_job_factory.h" |
#include "webkit/appcache/appcache_interceptor.h" |
#include "webkit/appcache/appcache_interfaces.h" |
-#include "webkit/blob/blob_storage_controller.h" |
+#include "webkit/blob/blob_data.h" |
+#include "webkit/blob/blob_storage_context.h" |
+#include "webkit/blob/blob_url_request_job_factory.h" |
#include "webkit/blob/shareable_file_reference.h" |
#include "webkit/glue/resource_request_body.h" |
#include "webkit/glue/webkit_glue.h" |
@@ -955,7 +957,7 @@ |
if (request_data.request_body) { |
request->set_upload( |
request_data.request_body->ResolveElementsAndCreateUploadData( |
- filter_->blob_storage_context()->controller())); |
+ filter_->blob_storage_context()->context())); |
} |
bool allow_download = request_data.allow_download && |
@@ -985,9 +987,10 @@ |
if (request->url().SchemeIs(chrome::kBlobScheme)) { |
// Hang on to a reference to ensure the blob is not released prior |
// to the job being started. |
- extra_info->set_requested_blob_data( |
- filter_->blob_storage_context()->controller()-> |
- GetBlobDataFromUrl(request->url())); |
+ webkit_blob::BlobProtocolHandler::SetRequestedBlobDataHandle( |
+ request, |
+ filter_->blob_storage_context()->context()-> |
+ GetBlobDataFromPublicUrl(request->url())); |
} |
// Have the appcache associate its extra info with the request. |