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

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

Issue 9834039: Remove resource_request_info_impl.h dependency from chrome. This also makes blob/file system urls w… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « content/browser/net/view_http_cache_job_factory.cc ('k') | content/browser/resource_context_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/resource_dispatcher_host_impl.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_impl.cc (revision 128327)
+++ content/browser/renderer_host/resource_dispatcher_host_impl.cc (working copy)
@@ -43,6 +43,7 @@
#include "content/browser/renderer_host/resource_request_info_impl.h"
#include "content/browser/renderer_host/sync_resource_handler.h"
#include "content/browser/renderer_host/throttling_resource_handler.h"
+#include "content/browser/resource_context_impl.h"
#include "content/browser/ssl/ssl_client_auth_handler.h"
#include "content/browser/ssl/ssl_manager.h"
#include "content/browser/worker_host/worker_service_impl.h"
@@ -55,7 +56,6 @@
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/render_view_host_delegate.h"
-#include "content/public/browser/resource_context.h"
#include "content/public/browser/resource_dispatcher_host_delegate.h"
#include "content/public/browser/resource_dispatcher_host_login_delegate.h"
#include "content/public/browser/resource_throttle.h"
@@ -740,7 +740,7 @@
// Might need to resolve the blob references in the upload data.
if (request_data.upload_data) {
- ResourceContext::GetBlobStorageController(resource_context)->
+ GetBlobStorageControllerForResourceContext(resource_context)->
ResolveBlobReferencesInUploadData(request_data.upload_data.get());
}
@@ -911,7 +911,7 @@
// Hang on to a reference to ensure the blob is not released prior
// to the job being started.
webkit_blob::BlobStorageController* controller =
- ResourceContext::GetBlobStorageController(resource_context);
+ GetBlobStorageControllerForResourceContext(resource_context);
extra_info->set_requested_blob_data(
controller->GetBlobDataFromUrl(request->url()));
}
« no previous file with comments | « content/browser/net/view_http_cache_job_factory.cc ('k') | content/browser/resource_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698