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

Unified Diff: content/common/service_worker/embedded_worker_settings.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/service_worker/embedded_worker_settings.h
diff --git a/content/common/service_worker/embedded_worker_settings.h b/content/common/service_worker/embedded_worker_settings.h
index 2014dae91c44fbc5f2ffea7109474a230afe937b..bcd5849f2eecb3efb4b993790de11473afa5768f 100644
--- a/content/common/service_worker/embedded_worker_settings.h
+++ b/content/common/service_worker/embedded_worker_settings.h
@@ -11,7 +11,7 @@ namespace content {
struct EmbeddedWorkerSettings {
content::V8CacheOptions v8_cache_options;
- bool data_saver_enabled;
+ blink::WebDataSaverFlag data_saver_flag = blink::WebDataSaverFlag::kDisabled;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698