| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 uint16_t ssl_key_exchange_group; | 171 uint16_t ssl_key_exchange_group; |
| 172 | 172 |
| 173 // List of Signed Certificate Timestamps (SCTs) and their corresponding | 173 // List of Signed Certificate Timestamps (SCTs) and their corresponding |
| 174 // validation status. Only present if the renderer process set | 174 // validation status. Only present if the renderer process set |
| 175 // report_raw_headers to true. | 175 // report_raw_headers to true. |
| 176 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; | 176 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; |
| 177 | 177 |
| 178 // In case this is a CORS response fetched by a ServiceWorker, this is the | 178 // In case this is a CORS response fetched by a ServiceWorker, this is the |
| 179 // set of headers that should be exposed. | 179 // set of headers that should be exposed. |
| 180 std::vector<std::string> cors_exposed_header_names; | 180 std::vector<std::string> cors_exposed_header_names; |
| 181 |
| 182 // True if service worker navigation preload was performed due to the request |
| 183 // for this response. |
| 184 bool did_service_worker_navigation_preload; |
| 181 }; | 185 }; |
| 182 | 186 |
| 183 } // namespace content | 187 } // namespace content |
| 184 | 188 |
| 185 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 189 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
| OLD | NEW |