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

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

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove cert_store on ios 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/loader/navigation_resource_handler.cc
diff --git a/content/browser/loader/navigation_resource_handler.cc b/content/browser/loader/navigation_resource_handler.cc
index 37a7f34ff95be12fe04bc81fc16cf1b16869f09d..a28ce29a40949bfebe7b83bfcbd2c8b547b80022 100644
--- a/content/browser/loader/navigation_resource_handler.cc
+++ b/content/browser/loader/navigation_resource_handler.cc
@@ -28,12 +28,10 @@ namespace content {
NavigationResourceHandler::NavigationResourceHandler(
net::URLRequest* request,
NavigationURLLoaderImplCore* core,
- ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate,
- CertStore* cert_store)
+ ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate)
: ResourceHandler(request),
core_(core),
- resource_dispatcher_host_delegate_(resource_dispatcher_host_delegate),
- cert_store_(cert_store) {
+ resource_dispatcher_host_delegate_(resource_dispatcher_host_delegate) {
core_->set_resource_handler(this);
writer_.set_immediate_mode(true);
}
@@ -118,7 +116,7 @@ bool NavigationResourceHandler::OnResponseStarted(ResourceResponse* response,
if (request()->ssl_info().cert.get()) {
ResourceLoader::GetSSLStatusForRequest(
request()->url(), request()->ssl_info(), info->GetChildID(),
- cert_store_, &ssl_status);
+ &ssl_status);
}
core_->NotifyResponseStarted(response, writer_.stream()->CreateHandle(),
« no previous file with comments | « content/browser/loader/navigation_resource_handler.h ('k') | content/browser/loader/navigation_resource_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698