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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

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/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index ef15ce0fffb998d8c0113c299304d091bb678598..f79d90ff7c89105ac186d2e4b46f40d36bf957a8 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -409,8 +409,8 @@ void WebSettingsImpl::SetDNSPrefetchingEnabled(bool enabled) {
settings_->SetDNSPrefetchingEnabled(enabled);
}
-void WebSettingsImpl::SetDataSaverEnabled(bool enabled) {
- settings_->SetDataSaverEnabled(enabled);
+void WebSettingsImpl::SetDataSaverFlag(WebDataSaverFlag data_saver_flag) {
+ settings_->SetDataSaverFlag(data_saver_flag);
}
void WebSettingsImpl::SetLocalStorageEnabled(bool enabled) {

Powered by Google App Engine
This is Rietveld 408576698