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

Unified Diff: content/public/common/resource_response_info.h

Issue 2296953004: Send certificates to devtools when it's open instead of using certId (Closed)
Patch Set: self review 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
« no previous file with comments | « content/common/security_style_util.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index b0008adadc88fb1b2403171f0c15a776d722c179..6f0f85af1babb9afce6a9a14ba52d30c78b09e1a 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -159,6 +159,21 @@ struct CONTENT_EXPORT ResourceResponseInfo {
// only for responses that correspond to main frame requests.
net::EffectiveConnectionType effective_connection_type;
+ // DER-encoded X509Certificate certificate chain. Only present if the renderer
+ // process set report_raw_headers to true.
+ std::vector<std::string> certificate;
+
+ // Bitmask of status info of the SSL certificate. See cert_status_flags.h for
+ // values. Only present if the renderer process set report_raw_headers to
+ // true.
+ net::CertStatus cert_status;
+
+ // Information about the SSL connection itself. See
+ // ssl_connection_status_flags.h for values. The protocol version,
+ // ciphersuite, and compression in use are encoded within. Only present if
+ // the renderer process set report_raw_headers to true.
+ int ssl_connection_status;
+
// List of Signed Certificate Timestamps (SCTs) and their corresponding
// validation status. Only present if the renderer process set
// report_raw_headers to true.
« no previous file with comments | « content/common/security_style_util.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698