Chromium Code Reviews| 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 8eeee1055ef726c37a05b5897e1f75586a0f9dec..670d5d5c3efd98e97a9db91f635a8ec5999cc872 100644 |
| --- a/third_party/WebKit/public/platform/WebURLResponse.h |
| +++ b/third_party/WebKit/public/platform/WebURLResponse.h |
| @@ -38,6 +38,8 @@ |
| #include "public/platform/WebVector.h" |
| #include "public/platform/modules/serviceworker/WebServiceWorkerResponseType.h" |
| +#include <vector> |
|
dgozman
2016/06/09 08:34:12
Remove this one.
dwaxweiler
2016/06/10 07:42:37
Acknowledged.
|
| + |
| namespace blink { |
| class ResourceResponse; |
| @@ -62,8 +64,48 @@ public: |
| SecurityStyleAuthenticated |
| }; |
| + struct SignedCertificateTimestamp { |
| + SignedCertificateTimestamp( |
| + WebString status, |
| + WebString origin, |
| + WebString logDescription, |
| + WebString logId, |
| + int64_t timestamp, |
| + WebString hashAlgorithm, |
| + WebString signatureAlgorithm, |
| + WebString signatureData) |
| + : status(status) |
| + , origin(origin) |
| + , logDescription(logDescription) |
| + , logId(logId) |
| + , timestamp(timestamp) |
| + , hashAlgorithm(hashAlgorithm) |
| + , signatureAlgorithm(signatureAlgorithm) |
| + , signatureData(signatureData) |
| + { |
| + } |
| + WebString status; |
| + WebString origin; |
| + WebString logDescription; |
| + WebString logId; |
| + int64_t timestamp; |
| + WebString hashAlgorithm; |
| + WebString signatureAlgorithm; |
| + WebString signatureData; |
| + }; |
| + |
| + using SignedCertificateTimestampList = std::vector<SignedCertificateTimestamp>; |
|
dgozman
2016/06/09 08:34:12
This should be WebVector.
dwaxweiler
2016/06/10 07:42:37
Acknowledged.
|
| + |
| struct WebSecurityDetails { |
| - WebSecurityDetails(const WebString& protocol, const WebString& keyExchange, const WebString& cipher, const WebString& mac, int certId, size_t numUnknownScts, size_t numInvalidScts, size_t numValidScts) |
| + WebSecurityDetails(const WebString& protocol, |
| + const WebString& keyExchange, |
| + const WebString& cipher, |
| + const WebString& mac, |
| + int certId, |
| + size_t numUnknownScts, |
| + size_t numInvalidScts, |
| + size_t numValidScts, |
| + const SignedCertificateTimestampList& sctList) |
| : protocol(protocol) |
| , keyExchange(keyExchange) |
| , cipher(cipher) |
| @@ -72,6 +114,7 @@ public: |
| , numUnknownScts(numUnknownScts) |
| , numInvalidScts(numInvalidScts) |
| , numValidScts(numValidScts) |
| + , sctList(sctList) |
| { |
| } |
| // All strings are human-readable values. |
| @@ -85,6 +128,7 @@ public: |
| size_t numUnknownScts; |
| size_t numInvalidScts; |
| size_t numValidScts; |
| + SignedCertificateTimestampList sctList; |
| }; |
| class ExtraData { |