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

Unified Diff: components/security_state/security_state_model.h

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: components/security_state/security_state_model.h
diff --git a/components/security_state/security_state_model.h b/components/security_state/security_state_model.h
index 4203bc78149ce6c0301592e0a8d65bd3a3ad4d96..8d3881520ba360fb829c440b527c12a28150154f 100644
--- a/components/security_state/security_state_model.h
+++ b/components/security_state/security_state_model.h
@@ -105,7 +105,7 @@ class SecurityStateModel {
std::vector<net::ct::SCTVerifyStatus> sct_verify_statuses;
bool scheme_is_cryptographic;
net::CertStatus cert_status;
- int cert_id;
+ scoped_refptr<net::X509Certificate> certificate;
// The security strength, in bits, of the SSL cipher suite. In late
// 2015, 128 is considered the minimum.
//
@@ -144,7 +144,7 @@ class SecurityStateModel {
bool connection_info_initialized;
// The following fields contain information about the connection
// used to load the page or request.
- int cert_id;
+ scoped_refptr<net::X509Certificate> certificate;
net::CertStatus cert_status;
int connection_status;
int security_bits;
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings_unittest.cc ('k') | components/security_state/security_state_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698