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

Unified Diff: content/browser/loader/navigation_resource_throttle.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_throttle.cc
diff --git a/content/browser/loader/navigation_resource_throttle.cc b/content/browser/loader/navigation_resource_throttle.cc
index bf23c43b14f9f42bb06925360f29e21952d97255..35ae2c537a29f03540bec489c558a60fdcd1998b 100644
--- a/content/browser/loader/navigation_resource_throttle.cc
+++ b/content/browser/loader/navigation_resource_throttle.cc
@@ -143,11 +143,9 @@ void WillProcessResponseOnUIThread(
NavigationResourceThrottle::NavigationResourceThrottle(
net::URLRequest* request,
ResourceDispatcherHostDelegate* resource_dispatcher_host_delegate,
- CertStore* cert_store,
RequestContextType request_context_type)
: request_(request),
resource_dispatcher_host_delegate_(resource_dispatcher_host_delegate),
- cert_store_(cert_store),
request_context_type_(request_context_type),
weak_ptr_factory_(this) {}
@@ -261,8 +259,7 @@ void NavigationResourceThrottle::WillProcessResponse(bool* defer) {
SSLStatus ssl_status;
if (request_->ssl_info().cert.get()) {
ResourceLoader::GetSSLStatusForRequest(
- request_->url(), request_->ssl_info(), info->GetChildID(),
- cert_store_, &ssl_status);
+ request_->url(), request_->ssl_info(), info->GetChildID(), &ssl_status);
}
BrowserThread::PostTask(
« no previous file with comments | « content/browser/loader/navigation_resource_throttle.h ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698