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

Unified Diff: third_party/WebKit/public/platform/WebURLResponse.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 | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLResponse.h
diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h
index ca7f9960eb6e6a243fc5b7e5dbf6b497a5b13d00..74981d868f9a416a2ae0cfdc869792da4cf7cdb5 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -99,13 +99,23 @@ public:
const WebString& keyExchange,
const WebString& cipher,
const WebString& mac,
- int certId,
+ const WebString& subjectName,
+ const WebVector<WebString>& sanList,
+ const WebString& issuer,
+ double validFrom,
+ double validTo,
+ WebVector<WebString>& certificate,
const SignedCertificateTimestampList& sctList)
: protocol(protocol)
, keyExchange(keyExchange)
, cipher(cipher)
, mac(mac)
- , certId(certId)
+ , subjectName(subjectName)
+ , sanList(sanList)
+ , issuer(issuer)
+ , validFrom(validFrom)
+ , validTo(validTo)
+ , certificate(certificate)
, sctList(sctList)
{
}
@@ -116,7 +126,13 @@ public:
// mac is the empty string when the connection cipher suite does not
// have a separate MAC value (i.e. if the cipher suite is AEAD).
WebString mac;
- int certId;
+ WebString subjectName;
+ WebVector<WebString> sanList;
+ WebString issuer;
+ double validFrom;
+ double validTo;
+ // DER-encoded X509Certificate certificate chain.
+ WebVector<WebString> certificate;
SignedCertificateTimestampList sctList;
};
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698