| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 using SignedCertificateTimestampList = WebVector<SignedCertificateTimestamp>
; | 95 using SignedCertificateTimestampList = WebVector<SignedCertificateTimestamp>
; |
| 96 | 96 |
| 97 struct WebSecurityDetails { | 97 struct WebSecurityDetails { |
| 98 WebSecurityDetails(const WebString& protocol, | 98 WebSecurityDetails(const WebString& protocol, |
| 99 const WebString& keyExchange, | 99 const WebString& keyExchange, |
| 100 const WebString& cipher, | 100 const WebString& cipher, |
| 101 const WebString& mac, | 101 const WebString& mac, |
| 102 int certId, | 102 int certId, |
| 103 size_t numUnknownScts, | |
| 104 size_t numInvalidScts, | |
| 105 size_t numValidScts, | |
| 106 const SignedCertificateTimestampList& sctList) | 103 const SignedCertificateTimestampList& sctList) |
| 107 : protocol(protocol) | 104 : protocol(protocol) |
| 108 , keyExchange(keyExchange) | 105 , keyExchange(keyExchange) |
| 109 , cipher(cipher) | 106 , cipher(cipher) |
| 110 , mac(mac) | 107 , mac(mac) |
| 111 , certId(certId) | 108 , certId(certId) |
| 112 , numUnknownScts(numUnknownScts) | |
| 113 , numInvalidScts(numInvalidScts) | |
| 114 , numValidScts(numValidScts) | |
| 115 , sctList(sctList) | 109 , sctList(sctList) |
| 116 { | 110 { |
| 117 } | 111 } |
| 118 // All strings are human-readable values. | 112 // All strings are human-readable values. |
| 119 WebString protocol; | 113 WebString protocol; |
| 120 WebString keyExchange; | 114 WebString keyExchange; |
| 121 WebString cipher; | 115 WebString cipher; |
| 122 // mac is the empty string when the connection cipher suite does not | 116 // mac is the empty string when the connection cipher suite does not |
| 123 // have a separate MAC value (i.e. if the cipher suite is AEAD). | 117 // have a separate MAC value (i.e. if the cipher suite is AEAD). |
| 124 WebString mac; | 118 WebString mac; |
| 125 int certId; | 119 int certId; |
| 126 size_t numUnknownScts; | |
| 127 size_t numInvalidScts; | |
| 128 size_t numValidScts; | |
| 129 SignedCertificateTimestampList sctList; | 120 SignedCertificateTimestampList sctList; |
| 130 }; | 121 }; |
| 131 | 122 |
| 132 class ExtraData { | 123 class ExtraData { |
| 133 public: | 124 public: |
| 134 virtual ~ExtraData() { } | 125 virtual ~ExtraData() { } |
| 135 }; | 126 }; |
| 136 | 127 |
| 137 BLINK_PLATFORM_EXPORT ~WebURLResponse(); | 128 BLINK_PLATFORM_EXPORT ~WebURLResponse(); |
| 138 | 129 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // instance it contains. | 304 // instance it contains. |
| 314 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; | 305 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; |
| 315 | 306 |
| 316 // Should never be null. | 307 // Should never be null. |
| 317 ResourceResponse* m_resourceResponse; | 308 ResourceResponse* m_resourceResponse; |
| 318 }; | 309 }; |
| 319 | 310 |
| 320 } // namespace blink | 311 } // namespace blink |
| 321 | 312 |
| 322 #endif | 313 #endif |
| OLD | NEW |