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

Unified Diff: ios/chrome/browser/ssl/ios_ssl_blocking_page.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/chrome/browser/ssl/ios_chrome_security_state_model_client.mm ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
diff --git a/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm b/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
index b689c5981214d619321340a39d5d9d1b1cd6d43d..e4f29d5a47f3e070949c3c6bc098121326e84aaa 100644
--- a/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
+++ b/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
@@ -18,7 +18,6 @@
#include "ios/chrome/browser/interstitials/ios_chrome_metrics_helper.h"
#include "ios/chrome/grit/ios_strings.h"
#include "ios/public/provider/chrome/browser/browser_constants.h"
-#include "ios/web/public/cert_store.h"
#import "ios/web/public/navigation_item.h"
#include "ios/web/public/ssl_status.h"
#include "ios/web/public/web_state/web_state.h"
@@ -195,8 +194,7 @@ void IOSSSLBlockingPage::OverrideItem(web::NavigationItem* item) {
// On iOS cert may be null when it is not provided by API callback or can not
// be parsed.
if (ssl_info_.cert) {
- item->GetSSL().cert_id = web::CertStore::GetInstance()->StoreCert(
- ssl_info_.cert.get(), web_state()->GetCertGroupId());
+ item->GetSSL().certificate = ssl_info_.cert;
}
}
« no previous file with comments | « ios/chrome/browser/ssl/ios_chrome_security_state_model_client.mm ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698