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

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

Issue 8511080: Get rid of resource_messages.h include from chrome, since that's an internal detail of content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 109749)
+++ content/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -483,8 +483,11 @@
const GURL referrer = MaybeStripReferrer(request_data.referrer);
// Allow the observer to block/handle the request.
- if (delegate_ && !delegate_->ShouldBeginRequest(child_id, route_id,
- request_data,
+ if (delegate_ && !delegate_->ShouldBeginRequest(child_id,
+ route_id,
+ request_data.method,
+ request_data.url,
+ request_data.resource_type,
resource_context,
referrer)) {
AbortRequestBeforeItStarts(filter_, sync_result, route_id, request_id);

Powered by Google App Engine
This is Rietveld 408576698