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

Unified Diff: content/common/worker_messages.h

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: fix #include "public/web/WebDataSaverFlag.h" 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/worker_messages.h
diff --git a/content/common/worker_messages.h b/content/common/worker_messages.h
index c2273a23d4e4a8f89d79613e6a4a85eb1d8b6441..cd0e57377ac473679940fec9880b4516b47ce3c9 100644
--- a/content/common/worker_messages.h
+++ b/content/common/worker_messages.h
@@ -17,6 +17,7 @@
#include "content/common/message_port.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
+#include "third_party/WebKit/public/web/WebDataSaverFlag.h"
#include "url/gurl.h"
#undef IPC_MESSAGE_EXPORT
@@ -45,6 +46,7 @@ IPC_STRUCT_BEGIN(WorkerProcessMsg_CreateWorker_Params)
IPC_STRUCT_MEMBER(blink::WebAddressSpace, creation_address_space)
IPC_STRUCT_MEMBER(bool, pause_on_start)
IPC_STRUCT_MEMBER(int, route_id)
+ IPC_STRUCT_MEMBER(blink::WebDataSaverFlag, data_saver_flag)
IPC_STRUCT_END()
//-----------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698