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

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

Issue 1965013002: Implement headers attributes in ForeignFetchResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using instead of typedef Created 4 years, 7 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/renderer/cache_storage/cache_storage_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698