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

Unified Diff: components/security_state/security_state_model.h

Issue 2272603003: Route key_exchange_group over to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again 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 8d3881520ba360fb829c440b527c12a28150154f..fc7e5f34c7d4d085098f3ac19c2b568f8d48fb3b 100644
--- a/components/security_state/security_state_model.h
+++ b/components/security_state/security_state_model.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
#define COMPONENTS_SECURITY_STATE_SECURITY_STATE_MODEL_H_
+#include <stdint.h>
+
#include "base/macros.h"
#include "net/cert/cert_status_flags.h"
#include "net/cert/sct_status_flags.h"
@@ -116,6 +118,9 @@ class SecurityStateModel {
// Information about the SSL connection, such as protocol and
// ciphersuite. See ssl_connection_flags.h in net.
int connection_status;
+ // The ID of the (EC)DH group used by the key exchange. The value is zero if
+ // unknown (older cache entries may not store the value) or not applicable.
+ uint16_t key_exchange_group;
// A mask that indicates which of the protocol version,
// key exchange, or cipher for the connection is considered
// obsolete. See net::ObsoleteSSLMask for specific mask values.
@@ -147,6 +152,9 @@ class SecurityStateModel {
scoped_refptr<net::X509Certificate> certificate;
net::CertStatus cert_status;
int connection_status;
+ // The ID of the (EC)DH group used by the key exchange. The value is zero if
+ // unknown (older cache entries may not store the value) or not applicable.
+ uint16_t key_exchange_group;
int security_bits;
// The verification statuses of the Signed Certificate
// Timestamps (if any) that the server provided.
« no previous file with comments | « chrome/browser/ssl/chrome_security_state_model_client_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