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

Unified Diff: ios/web/net/request_tracker_impl.mm

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
« no previous file with comments | « ios/web/net/crw_ssl_status_updater_unittest.mm ('k') | ios/web/public/cert_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/request_tracker_impl.mm
diff --git a/ios/web/net/request_tracker_impl.mm b/ios/web/net/request_tracker_impl.mm
index fc634e11168de3922187ff0a997aa31085ec1de4..dc038e43ce1a239cbcc42deb813f9b2959be28da 100644
--- a/ios/web/net/request_tracker_impl.mm
+++ b/ios/web/net/request_tracker_impl.mm
@@ -23,7 +23,6 @@
#import "ios/web/history_state_util.h"
#import "ios/web/net/crw_request_tracker_delegate.h"
#include "ios/web/public/browser_state.h"
-#include "ios/web/public/cert_store.h"
#include "ios/web/public/certificate_policy_cache.h"
#include "ios/web/public/ssl_status.h"
#include "ios/web/public/url_util.h"
@@ -269,8 +268,7 @@ struct TrackerCounts {
if (!sslInfo_.is_valid())
return;
- status_.cert_id = web::CertStore::GetInstance()->StoreCert(
- sslInfo_.cert.get(), tracker_->identifier());
+ status_.certificate = sslInfo_.cert;
status_.cert_status = sslInfo_.cert_status;
if (status_.cert_status & net::CERT_STATUS_COMMON_NAME_INVALID) {
@@ -413,8 +411,6 @@ void RequestTrackerImpl::Close() {
delegate_ = nil;
// The user_info is no longer needed.
user_info_.reset();
- // Get rid of the stored certificates
- web::CertStore::GetInstance()->RemoveCertsForGroup(identifier_);
}
// static
« no previous file with comments | « ios/web/net/crw_ssl_status_updater_unittest.mm ('k') | ios/web/public/cert_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698