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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 subjectName(subjectName), | 114 subjectName(subjectName), |
115 sanList(sanList), | 115 sanList(sanList), |
116 issuer(issuer), | 116 issuer(issuer), |
117 validFrom(validFrom), | 117 validFrom(validFrom), |
118 validTo(validTo), | 118 validTo(validTo), |
119 certificate(certificate), | 119 certificate(certificate), |
120 sctList(sctList) {} | 120 sctList(sctList) {} |
121 // All strings are human-readable values. | 121 // All strings are human-readable values. |
122 WebString protocol; | 122 WebString protocol; |
123 WebString keyExchange; | 123 WebString keyExchange; |
124 // keyExchangeGroup is the empty string if not applicable for the connection
's key exchange. | 124 // keyExchangeGroup is the empty string if not applicable for the |
| 125 // connection's key exchange. |
125 WebString keyExchangeGroup; | 126 WebString keyExchangeGroup; |
126 WebString cipher; | 127 WebString cipher; |
127 // mac is the empty string when the connection cipher suite does not | 128 // mac is the empty string when the connection cipher suite does not |
128 // have a separate MAC value (i.e. if the cipher suite is AEAD). | 129 // have a separate MAC value (i.e. if the cipher suite is AEAD). |
129 WebString mac; | 130 WebString mac; |
130 WebString subjectName; | 131 WebString subjectName; |
131 WebVector<WebString> sanList; | 132 WebVector<WebString> sanList; |
132 WebString issuer; | 133 WebString issuer; |
133 double validFrom; | 134 double validFrom; |
134 double validTo; | 135 double validTo; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 221 |
221 // Flag whether this request was served from the disk cache entry. | 222 // Flag whether this request was served from the disk cache entry. |
222 BLINK_PLATFORM_EXPORT bool wasCached() const; | 223 BLINK_PLATFORM_EXPORT bool wasCached() const; |
223 BLINK_PLATFORM_EXPORT void setWasCached(bool); | 224 BLINK_PLATFORM_EXPORT void setWasCached(bool); |
224 | 225 |
225 // Flag whether this request was loaded via the SPDY protocol or not. | 226 // Flag whether this request was loaded via the SPDY protocol or not. |
226 // SPDY is an experimental web protocol, see http://dev.chromium.org/spdy | 227 // SPDY is an experimental web protocol, see http://dev.chromium.org/spdy |
227 BLINK_PLATFORM_EXPORT bool wasFetchedViaSPDY() const; | 228 BLINK_PLATFORM_EXPORT bool wasFetchedViaSPDY() const; |
228 BLINK_PLATFORM_EXPORT void setWasFetchedViaSPDY(bool); | 229 BLINK_PLATFORM_EXPORT void setWasFetchedViaSPDY(bool); |
229 | 230 |
230 // Flag whether this request was loaded after the TLS/Next-Protocol-Negotiatio
n was used. | 231 // Flag whether this request was loaded after the |
231 // This is related to SPDY. | 232 // TLS/Next-Protocol-Negotiation was used. This is related to SPDY. |
232 BLINK_PLATFORM_EXPORT bool wasNpnNegotiated() const; | 233 BLINK_PLATFORM_EXPORT bool wasNpnNegotiated() const; |
233 BLINK_PLATFORM_EXPORT void setWasNpnNegotiated(bool); | 234 BLINK_PLATFORM_EXPORT void setWasNpnNegotiated(bool); |
234 | 235 |
235 // Flag whether this request was made when "Alternate-Protocol: xxx" | 236 // Flag whether this request was made when "Alternate-Protocol: xxx" |
236 // is present in server's response. | 237 // is present in server's response. |
237 BLINK_PLATFORM_EXPORT bool wasAlternateProtocolAvailable() const; | 238 BLINK_PLATFORM_EXPORT bool wasAlternateProtocolAvailable() const; |
238 BLINK_PLATFORM_EXPORT void setWasAlternateProtocolAvailable(bool); | 239 BLINK_PLATFORM_EXPORT void setWasAlternateProtocolAvailable(bool); |
239 | 240 |
240 // Flag whether this request was loaded via a ServiceWorker. | 241 // Flag whether this request was loaded via a ServiceWorker. |
241 BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const; | 242 BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // instance it contains. | 323 // instance it contains. |
323 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; | 324 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; |
324 | 325 |
325 // Should never be null. | 326 // Should never be null. |
326 ResourceResponse* m_resourceResponse; | 327 ResourceResponse* m_resourceResponse; |
327 }; | 328 }; |
328 | 329 |
329 } // namespace blink | 330 } // namespace blink |
330 | 331 |
331 #endif | 332 #endif |
OLD | NEW |