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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index 386ab96922217ac890decefd77e13a455e382eef..1a09c1695851df79f57ef0783334338598a90d47 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -178,6 +178,10 @@ struct CONTENT_EXPORT ResourceResponseInfo {
// In case this is a CORS response fetched by a ServiceWorker, this is the
// set of headers that should be exposed.
std::vector<std::string> cors_exposed_header_names;
+
+ // True if service worker navigation preload was performed due to the request
+ // for this response.
+ bool did_service_worker_navigation_preload;
};
} // namespace content
« 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