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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 5 #ifndef COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
6 #define COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 6 #define COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/cert/cert_status_flags.h" 9 #include "net/cert/cert_status_flags.h"
10 #include "net/cert/sct_status_flags.h" 10 #include "net/cert/sct_status_flags.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ContentStatus mixed_content_status; 98 ContentStatus mixed_content_status;
99 // |content_with_cert_errors_status| describes the presence of 99 // |content_with_cert_errors_status| describes the presence of
100 // content that was loaded over an HTTPS connection with 100 // content that was loaded over an HTTPS connection with
101 // certificate errors. 101 // certificate errors.
102 ContentStatus content_with_cert_errors_status; 102 ContentStatus content_with_cert_errors_status;
103 // The verification statuses of the signed certificate timestamps 103 // The verification statuses of the signed certificate timestamps
104 // for the connection. 104 // for the connection.
105 std::vector<net::ct::SCTVerifyStatus> sct_verify_statuses; 105 std::vector<net::ct::SCTVerifyStatus> sct_verify_statuses;
106 bool scheme_is_cryptographic; 106 bool scheme_is_cryptographic;
107 net::CertStatus cert_status; 107 net::CertStatus cert_status;
108 int cert_id; 108 scoped_refptr<net::X509Certificate> certificate;
109 // The security strength, in bits, of the SSL cipher suite. In late 109 // The security strength, in bits, of the SSL cipher suite. In late
110 // 2015, 128 is considered the minimum. 110 // 2015, 128 is considered the minimum.
111 // 111 //
112 // 0 means the connection uses HTTPS but is not encrypted. -1 means 112 // 0 means the connection uses HTTPS but is not encrypted. -1 means
113 // the security strength is unknown or the connection does not use 113 // the security strength is unknown or the connection does not use
114 // HTTPS. 114 // HTTPS.
115 int security_bits; 115 int security_bits;
116 // Information about the SSL connection, such as protocol and 116 // Information about the SSL connection, such as protocol and
117 // ciphersuite. See ssl_connection_flags.h in net. 117 // ciphersuite. See ssl_connection_flags.h in net.
118 int connection_status; 118 int connection_status;
(...skipping 18 matching lines...) Expand all
137 // any SecurityStateModel policies have been applied. 137 // any SecurityStateModel policies have been applied.
138 SecurityLevel initial_security_level; 138 SecurityLevel initial_security_level;
139 // True if the page fails the browser's malware or phishing checks. 139 // True if the page fails the browser's malware or phishing checks.
140 bool fails_malware_check; 140 bool fails_malware_check;
141 141
142 // CONNECTION SECURITY FIELDS 142 // CONNECTION SECURITY FIELDS
143 // Whether the connection security fields are initialized. 143 // Whether the connection security fields are initialized.
144 bool connection_info_initialized; 144 bool connection_info_initialized;
145 // The following fields contain information about the connection 145 // The following fields contain information about the connection
146 // used to load the page or request. 146 // used to load the page or request.
147 int cert_id; 147 scoped_refptr<net::X509Certificate> certificate;
148 net::CertStatus cert_status; 148 net::CertStatus cert_status;
149 int connection_status; 149 int connection_status;
150 int security_bits; 150 int security_bits;
151 // The verification statuses of the Signed Certificate 151 // The verification statuses of the Signed Certificate
152 // Timestamps (if any) that the server provided. 152 // Timestamps (if any) that the server provided.
153 std::vector<net::ct::SCTVerifyStatus> sct_verify_statuses; 153 std::vector<net::ct::SCTVerifyStatus> sct_verify_statuses;
154 // True if the page displayed passive mixed content. 154 // True if the page displayed passive mixed content.
155 bool displayed_mixed_content; 155 bool displayed_mixed_content;
156 // True if the page ran active mixed content. 156 // True if the page ran active mixed content.
157 bool ran_mixed_content; 157 bool ran_mixed_content;
(...skipping 29 matching lines...) Expand all
187 mutable VisibleSecurityState visible_security_state_; 187 mutable VisibleSecurityState visible_security_state_;
188 188
189 SecurityStateModelClient* client_; 189 SecurityStateModelClient* client_;
190 190
191 DISALLOW_COPY_AND_ASSIGN(SecurityStateModel); 191 DISALLOW_COPY_AND_ASSIGN(SecurityStateModel);
192 }; 192 };
193 193
194 } // namespace security_state 194 } // namespace security_state
195 195
196 #endif // COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 196 #endif // COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
OLDNEW
« 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