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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // values. Only present if the renderer process set report_raw_headers to | 163 // values. Only present if the renderer process set report_raw_headers to |
164 // true. | 164 // true. |
165 net::CertStatus cert_status; | 165 net::CertStatus cert_status; |
166 | 166 |
167 // Information about the SSL connection itself. See | 167 // Information about the SSL connection itself. See |
168 // ssl_connection_status_flags.h for values. The protocol version, | 168 // ssl_connection_status_flags.h for values. The protocol version, |
169 // ciphersuite, and compression in use are encoded within. Only present if | 169 // ciphersuite, and compression in use are encoded within. Only present if |
170 // the renderer process set report_raw_headers to true. | 170 // the renderer process set report_raw_headers to true. |
171 int ssl_connection_status; | 171 int ssl_connection_status; |
172 | 172 |
| 173 // The key exchange group used by the SSL connection or zero if unknown or not |
| 174 // applicable. Only present if the renderer process set report_raw_headers to |
| 175 // true. |
| 176 uint16_t ssl_key_exchange_group; |
| 177 |
173 // List of Signed Certificate Timestamps (SCTs) and their corresponding | 178 // List of Signed Certificate Timestamps (SCTs) and their corresponding |
174 // validation status. Only present if the renderer process set | 179 // validation status. Only present if the renderer process set |
175 // report_raw_headers to true. | 180 // report_raw_headers to true. |
176 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; | 181 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; |
177 | 182 |
178 // In case this is a CORS response fetched by a ServiceWorker, this is the | 183 // In case this is a CORS response fetched by a ServiceWorker, this is the |
179 // set of headers that should be exposed. | 184 // set of headers that should be exposed. |
180 std::vector<std::string> cors_exposed_header_names; | 185 std::vector<std::string> cors_exposed_header_names; |
181 }; | 186 }; |
182 | 187 |
183 } // namespace content | 188 } // namespace content |
184 | 189 |
185 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ | 190 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ |
OLD | NEW |