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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2321543002: Merge CrossSiteResourceHandler and NavigationResourceThrottle (Closed)
Patch Set: Addressed nits Created 4 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/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index 5aa5946400e6cef95346f984a22e71c028515a7a..2fb9cd8b4aff67ff181800ee77f1e0c96dbd378f 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -401,8 +401,12 @@ void NavigationRequest::OnResponseStarted(
body_ = std::move(body);
// Check if the navigation should be allowed to proceed.
+ // TODO(clamy): pass the right values for request_id, is_download and
+ // is_stream.
navigation_handle_->WillProcessResponse(
render_frame_host, response->head.headers.get(), ssl_status,
+ GlobalRequestID(), common_params_.should_replace_current_entry, false,
+ false, base::Closure(),
base::Bind(&NavigationRequest::OnWillProcessResponseChecksComplete,
base::Unretained(this)));
}
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl_unittest.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698