| 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..bb4e0924e10aa8a3356f0766526154bcda5b716d 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceResponse.h
|
| @@ -61,7 +61,13 @@ public:
|
|
|
| struct SecurityDetails {
|
| DISALLOW_NEW();
|
| - SecurityDetails() : certID(0) {}
|
| + SecurityDetails()
|
| + : certID(0)
|
| + , numUnknownSCTs(0)
|
| + , numInvalidSCTs(0)
|
| + , numValidSCTs(0)
|
| + {
|
| + }
|
| // All strings are human-readable values.
|
| String protocol;
|
| String keyExchange;
|
| @@ -70,6 +76,9 @@ public:
|
| // have a separate MAC value (i.e. if the cipher suite is AEAD).
|
| String mac;
|
| int certID;
|
| + size_t numUnknownSCTs;
|
| + size_t numInvalidSCTs;
|
| + size_t numValidSCTs;
|
| };
|
|
|
| class ExtraData : public RefCounted<ExtraData> {
|
| @@ -167,7 +176,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, size_t numUnknownScts, size_t numInvalidScts, size_t numValidScts);
|
|
|
| long long appCacheID() const { return m_appCacheID; }
|
| void setAppCacheID(long long id) { m_appCacheID = id; }
|
|
|