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

Unified Diff: content/browser/loader/navigation_resource_handler.cc

Issue 2817033002: Plumb the net::SSLInfo to the browser process when it's using the network service. (Closed)
Patch Set: add net::SSLInfo test Created 3 years, 8 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/loader/navigation_resource_handler.cc
diff --git a/content/browser/loader/navigation_resource_handler.cc b/content/browser/loader/navigation_resource_handler.cc
index 7067b81248be94f8446c7e09d622f4fba336b835..d5c062898bd03525fd34646529ca0e5a805c65f7 100644
--- a/content/browser/loader/navigation_resource_handler.cc
+++ b/content/browser/loader/navigation_resource_handler.cc
@@ -27,9 +27,7 @@
namespace content {
void NavigationResourceHandler::GetSSLStatusForRequest(
- const GURL& url,
const net::SSLInfo& ssl_info,
- int child_id,
SSLStatus* ssl_status) {
DCHECK(ssl_info.cert);
*ssl_status = SSLStatus(ssl_info);
@@ -126,10 +124,8 @@ void NavigationResourceHandler::OnResponseStarted(
}
SSLStatus ssl_status;
- if (request()->ssl_info().cert.get()) {
- GetSSLStatusForRequest(request()->url(), request()->ssl_info(),
- info->GetChildID(), &ssl_status);
- }
+ if (request()->ssl_info().cert.get())
+ GetSSLStatusForRequest(request()->ssl_info(), &ssl_status);
core_->NotifyResponseStarted(response, writer_.stream()->CreateHandle(),
ssl_status, std::move(cloned_data),
« no previous file with comments | « content/browser/loader/navigation_resource_handler.h ('k') | content/browser/loader/navigation_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698