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

Unified Diff: content/public/common/web_preferences.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/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index bcceb6b29e3b441f67e053ac7543cc51b4fa7676..00f619c26cdb7e634d632c0017a79317148ed93c 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -13,6 +13,7 @@
#include "base/time/time.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
+#include "third_party/WebKit/public/web/WebDataSaverFlag.h"
#include "ui/base/touch/touch_device.h"
#include "url/gurl.h"
@@ -120,7 +121,7 @@ struct CONTENT_EXPORT WebPreferences {
bool dns_prefetching_enabled;
// Preference to save data. When enabled, requests will contain the header
// 'Save-Data: on'.
- bool data_saver_enabled;
+ blink::WebDataSaverFlag data_saver_flag;
bool local_storage_enabled;
bool databases_enabled;
bool application_cache_enabled;

Powered by Google App Engine
This is Rietveld 408576698