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

Unified Diff: third_party/WebKit/Source/core/frame/Settings.json5

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: third_party/WebKit/Source/core/frame/Settings.json5
diff --git a/third_party/WebKit/Source/core/frame/Settings.json5 b/third_party/WebKit/Source/core/frame/Settings.json5
index 84b492711ee8d6d63ea75f2bb147504cf877c21c..549f76cf1da3febe6d66e29f3b6ed7ed5821ea46 100644
--- a/third_party/WebKit/Source/core/frame/Settings.json5
+++ b/third_party/WebKit/Source/core/frame/Settings.json5
@@ -566,8 +566,9 @@
},
{
- name: "dataSaverEnabled",
- initial: false,
+ name: "dataSaverFlag",
+ initial: "WebDataSaverFlag::kDisabled",
+ type: "WebDataSaverFlag",
},
// Clients that execute script should call ExecutionContext::canExecuteScripts()

Powered by Google App Engine
This is Rietveld 408576698