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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.cc

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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: content/browser/renderer_host/resource_dispatcher_host_impl.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_impl.cc (revision 156155)
+++ content/browser/renderer_host/resource_dispatcher_host_impl.cc (working copy)
@@ -958,7 +958,7 @@
if (request_data.request_body) {
request->set_upload(
request_data.request_body->ResolveElementsAndCreateUploadData(
- GetBlobStorageControllerForResourceContext(resource_context)));
+ filter_->blob_storage_context()->controller()));
}
bool allow_download = request_data.allow_download &&
@@ -988,15 +988,14 @@
if (request->url().SchemeIs(chrome::kBlobScheme)) {
// Hang on to a reference to ensure the blob is not released prior
// to the job being started.
- webkit_blob::BlobStorageController* controller =
- GetBlobStorageControllerForResourceContext(resource_context);
extra_info->set_requested_blob_data(
- controller->GetBlobDataFromUrl(request->url()));
+ filter_->blob_storage_context()->controller()->
+ GetBlobDataFromUrl(request->url()));
}
// Have the appcache associate its extra info with the request.
appcache::AppCacheInterceptor::SetExtraRequestInfo(
- request, ResourceContext::GetAppCacheService(resource_context), child_id,
+ request, filter_->appcache_service(), child_id,
request_data.appcache_host_id, request_data.resource_type);
// Construct the IPC resource handler.
@@ -1050,6 +1049,7 @@
delegate_->RequestBeginning(request,
resource_context,
+ filter_->appcache_service(),
request_data.resource_type,
child_id,
route_id,

Powered by Google App Engine
This is Rietveld 408576698