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

Unified Diff: content/common/service_worker/service_worker_types.h

Issue 2451373003: service worker: Implement NavigationPreloadManager.setHeaderValue (Closed)
Patch Set: rebase Created 4 years, 1 month 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
Index: content/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index 4dbe26f8e7ee0b13233ba9d247099be503017a66..589a6a40fd0a05fd8f13907a354d42cd7a23dd58 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -272,6 +272,14 @@ struct ExtendableMessageEventSource {
ServiceWorkerObjectInfo service_worker_info;
};
+struct CONTENT_EXPORT NavigationPreloadState {
+ NavigationPreloadState();
+ NavigationPreloadState(bool enabled, std::string header);
+ NavigationPreloadState(const NavigationPreloadState& other);
+ bool enabled;
+ std::string header;
+};
+
} // namespace content
#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/common/service_worker/service_worker_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698