| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 150 |
| 151 // Effective connection type when the resource was fetched. This is populated | 151 // Effective connection type when the resource was fetched. This is populated |
| 152 // only for responses that correspond to main frame requests. | 152 // only for responses that correspond to main frame requests. |
| 153 net::NetworkQualityEstimator::EffectiveConnectionType | 153 net::NetworkQualityEstimator::EffectiveConnectionType |
| 154 effective_connection_type; | 154 effective_connection_type; |
| 155 | 155 |
| 156 // List of Signed Certificate Timestamps (SCTs) and their corresponding | 156 // List of Signed Certificate Timestamps (SCTs) and their corresponding |
| 157 // validation status. Only present if the renderer process set | 157 // validation status. Only present if the renderer process set |
| 158 // report_raw_headers to true. | 158 // report_raw_headers to true. |
| 159 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; | 159 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; |
| 160 |
| 161 // In case this is a CORS response fetched by a ServiceWorker, this is the |
| 162 // set of headers that should be exposed. |
| 163 std::vector<std::string> cors_exposed_header_names; |
| 160 }; | 164 }; |
| 161 | 165 |
| 162 } // namespace content | 166 } // namespace content |
| 163 | 167 |
| 164 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 168 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| OLD | NEW |