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

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: fix test maybe Created 4 years, 4 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 f45167160c899bdc8843c5c5b367077c88a821fa..95cc36889a88284b505982fc57044d7a0cda4504 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"
@@ -114,6 +116,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.
@@ -145,6 +150,9 @@ class SecurityStateModel {
int cert_id;
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.

Powered by Google App Engine
This is Rietveld 408576698