| Index: third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceResponse.h b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| index bc3e67c570b3fb8b880faa7680c3b883ac157153..a3b5cbd309531fa46d326264db13b785b88104de 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| @@ -61,7 +61,14 @@ public:
|
|
|
| struct SecurityDetails {
|
| DISALLOW_NEW();
|
| - SecurityDetails() : certID(0) {}
|
| + SecurityDetails()
|
| + : certID(0)
|
| + , certIsValidEV(false)
|
| + , numUnknownSCTs(0)
|
| + , numInvalidSCTs(0)
|
| + , numValidSCTs(0)
|
| + {
|
| + }
|
| // All strings are human-readable values.
|
| String protocol;
|
| String keyExchange;
|
| @@ -70,6 +77,10 @@ public:
|
| // have a separate MAC value (i.e. if the cipher suite is AEAD).
|
| String mac;
|
| int certID;
|
| + bool certIsValidEV;
|
| + int numUnknownSCTs;
|
| + int numInvalidSCTs;
|
| + int numValidSCTs;
|
| };
|
|
|
| class ExtraData : public RefCounted<ExtraData> {
|
| @@ -167,7 +178,7 @@ public:
|
| void setSecurityStyle(SecurityStyle securityStyle) { m_securityStyle = securityStyle; }
|
|
|
| const SecurityDetails* securityDetails() const { return &m_securityDetails; }
|
| - void setSecurityDetails(const String& protocol, const String& keyExchange, const String& cipher, const String& mac, int certId);
|
| + void setSecurityDetails(const String& protocol, const String& keyExchange, const String& cipher, const String& mac, int certId, bool certIsValidEV, int numUnknownScts, int numInvalidScts, int numValidScts);
|
|
|
| long long appCacheID() const { return m_appCacheID; }
|
| void setAppCacheID(long long id) { m_appCacheID = id; }
|
|
|