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

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

Issue 2239273002: Don't use SSLStatus from FrameHostMsg_DidCommitProvisionalLoad and instead cache it on the browser … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 4 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 0063419c0d590cdd5ff28b10edd68ed974da3c75..c9b5879dab9fa5ef926e83a3da5d934df439b107 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -290,6 +290,7 @@ void NavigationRequest::OnRequestRedirected(
void NavigationRequest::OnResponseStarted(
const scoped_refptr<ResourceResponse>& response,
std::unique_ptr<StreamHandle> body,
+ const SSLStatus& ssl_status,
std::unique_ptr<NavigationData> navigation_data) {
DCHECK(state_ == STARTED);
state_ = RESPONSE_STARTED;
@@ -336,7 +337,7 @@ void NavigationRequest::OnResponseStarted(
// Check if the navigation should be allowed to proceed.
navigation_handle_->WillProcessResponse(
- render_frame_host, response->head.headers.get(),
+ render_frame_host, response->head.headers.get(), ssl_status,
base::Bind(&NavigationRequest::OnWillProcessResponseChecksComplete,
base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698