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

Unified Diff: content/common/view_messages.h

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: same as PS6 Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/shared_worker/shared_worker_service_impl.cc ('k') | content/common/worker_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 62aff1b8f0af36f6d0996e6401b5042cdf5bc4fd..ec623cf506a4eae00595cfab944d7849b60cee30 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -314,6 +314,9 @@ IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
// The type (secure or nonsecure) of the context that created the worker.
IPC_STRUCT_MEMBER(blink::WebSharedWorkerCreationContextType,
creation_context_type)
+
+ // Whether Data-Saver is enabled or not.
+ IPC_STRUCT_MEMBER(bool, data_saver_enabled)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Reply)
« no previous file with comments | « content/browser/shared_worker/shared_worker_service_impl.cc ('k') | content/common/worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698