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

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

Issue 2684933011: M57: Add UseCounter for ServiceWorkerNavigationPreload. (Closed)
Patch Set: Created 3 years, 10 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
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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698