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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_delegate.h

Issue 7134017: Make safe browsing work in a multi-profile environment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: addressed sky's nit Created 9 years, 5 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_delegate.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_delegate.h (revision 92179)
+++ content/browser/renderer_host/resource_dispatcher_host_delegate.h (working copy)
@@ -42,17 +42,21 @@
// content layer have been added. To add new handlers to the front, return
// a new handler that is chained to the given one, otherwise just reutrn the
// given handler.
- virtual ResourceHandler* RequestBeginning(ResourceHandler* handler,
- net::URLRequest* request,
- bool is_subresource,
- int child_id,
- int route_id);
+ virtual ResourceHandler* RequestBeginning(
+ ResourceHandler* handler,
+ net::URLRequest* request,
+ const content::ResourceContext& resource_context,
+ bool is_subresource,
+ int child_id,
+ int route_id);
// Called when a download is starting, after the resource handles from the
// content layer have been added.
- virtual ResourceHandler* DownloadStarting(ResourceHandler* handler,
- int child_id,
- int route_id);
+ virtual ResourceHandler* DownloadStarting(
+ ResourceHandler* handler,
+ const content::ResourceContext& resource_context,
+ int child_id,
+ int route_id);
// Called to determine whether a request's start should be deferred. This
// is only called if the ResourceHandler associated with the request does

Powered by Google App Engine
This is Rietveld 408576698