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

Unified Diff: content/common/view_messages.h

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: rebase 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index cf32fe699180940210edd4e2b48791edd3e54a6f..f74e4196933cee089c70952c478bff1a0f334ad6 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)

Powered by Google App Engine
This is Rietveld 408576698