Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: content/public/common/resource_response_info.h

Issue 2296953004: Send certificates to devtools when it's open instead of using certId (Closed)
Patch Set: self review Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/security_style_util.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // the ServiceWorker. Empty if the response isn't from the CacheStorage. 152 // the ServiceWorker. Empty if the response isn't from the CacheStorage.
153 std::string cache_storage_cache_name; 153 std::string cache_storage_cache_name;
154 154
155 // Whether or not the request was for a LoFi version of the resource. 155 // Whether or not the request was for a LoFi version of the resource.
156 bool is_using_lofi; 156 bool is_using_lofi;
157 157
158 // Effective connection type when the resource was fetched. This is populated 158 // Effective connection type when the resource was fetched. This is populated
159 // only for responses that correspond to main frame requests. 159 // only for responses that correspond to main frame requests.
160 net::EffectiveConnectionType effective_connection_type; 160 net::EffectiveConnectionType effective_connection_type;
161 161
162 // DER-encoded X509Certificate certificate chain. Only present if the renderer
163 // process set report_raw_headers to true.
164 std::vector<std::string> certificate;
165
166 // Bitmask of status info of the SSL certificate. See cert_status_flags.h for
167 // values. Only present if the renderer process set report_raw_headers to
168 // true.
169 net::CertStatus cert_status;
170
171 // Information about the SSL connection itself. See
172 // ssl_connection_status_flags.h for values. The protocol version,
173 // ciphersuite, and compression in use are encoded within. Only present if
174 // the renderer process set report_raw_headers to true.
175 int ssl_connection_status;
176
162 // List of Signed Certificate Timestamps (SCTs) and their corresponding 177 // List of Signed Certificate Timestamps (SCTs) and their corresponding
163 // validation status. Only present if the renderer process set 178 // validation status. Only present if the renderer process set
164 // report_raw_headers to true. 179 // report_raw_headers to true.
165 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; 180 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
166 181
167 // In case this is a CORS response fetched by a ServiceWorker, this is the 182 // In case this is a CORS response fetched by a ServiceWorker, this is the
168 // set of headers that should be exposed. 183 // set of headers that should be exposed.
169 std::vector<std::string> cors_exposed_header_names; 184 std::vector<std::string> cors_exposed_header_names;
170 }; 185 };
171 186
172 } // namespace content 187 } // namespace content
173 188
174 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 189 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « content/common/security_style_util.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698