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

Side by Side Diff: components/security_state/security_state_model.h

Issue 2282833002: Fix |security_bits| comment on SecurityStateModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 int cert_id;
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 // 0 means the connection is not encrypted. 111 //
112 // -1 means the security strength is unknown. 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
114 // HTTPS.
113 int security_bits; 115 int security_bits;
114 // Information about the SSL connection, such as protocol and 116 // Information about the SSL connection, such as protocol and
115 // ciphersuite. See ssl_connection_flags.h in net. 117 // ciphersuite. See ssl_connection_flags.h in net.
116 int connection_status; 118 int connection_status;
117 // A mask that indicates which of the protocol version, 119 // A mask that indicates which of the protocol version,
118 // key exchange, or cipher for the connection is considered 120 // key exchange, or cipher for the connection is considered
119 // obsolete. See net::ObsoleteSSLMask for specific mask values. 121 // obsolete. See net::ObsoleteSSLMask for specific mask values.
120 int obsolete_ssl_status; 122 int obsolete_ssl_status;
121 123
122 // True if pinning was bypassed due to a local trust anchor. 124 // True if pinning was bypassed due to a local trust anchor.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 mutable VisibleSecurityState visible_security_state_; 187 mutable VisibleSecurityState visible_security_state_;
186 188
187 SecurityStateModelClient* client_; 189 SecurityStateModelClient* client_;
188 190
189 DISALLOW_COPY_AND_ASSIGN(SecurityStateModel); 191 DISALLOW_COPY_AND_ASSIGN(SecurityStateModel);
190 }; 192 };
191 193
192 } // namespace security_state 194 } // namespace security_state
193 195
194 #endif // COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_ 196 #endif // COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698