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

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

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.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host.cc (revision 92179)
+++ content/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -493,8 +493,8 @@
if (delegate_) {
bool sub = request_data.resource_type != ResourceType::MAIN_FRAME;
- handler = delegate_->RequestBeginning(
- handler, request, sub, child_id, route_id);
+ handler = delegate_->RequestBeginning(handler, request, resource_context,
+ sub, child_id, route_id);
}
// Make extra info and read footer (contains request ID).
@@ -710,8 +710,10 @@
prompt_for_save_location,
save_info));
- if (delegate_)
- handler = delegate_->DownloadStarting(handler, child_id, route_id);
+ if (delegate_) {
+ handler = delegate_->DownloadStarting(handler, context, child_id,
+ route_id);
+ }
const net::URLRequestContext* request_context = context.request_context();
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/browser/renderer_host/resource_dispatcher_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698