Index: content/renderer/service_worker/worker_fetch_context_impl.cc |
diff --git a/content/renderer/service_worker/worker_fetch_context_impl.cc b/content/renderer/service_worker/worker_fetch_context_impl.cc |
index 51a9730df6b69928e7870f8d21803a025179f532..2d345c557a30684e42ad4e7b3fd4f2ddb5e1ac5c 100644 |
--- a/content/renderer/service_worker/worker_fetch_context_impl.cc |
+++ b/content/renderer/service_worker/worker_fetch_context_impl.cc |
@@ -58,12 +58,12 @@ bool WorkerFetchContextImpl::IsControlledByServiceWorker() const { |
(controller_version_id_ != kInvalidServiceWorkerVersionId); |
} |
-void WorkerFetchContextImpl::SetDataSaverEnabled(bool enabled) { |
- is_data_saver_enabled_ = enabled; |
+void WorkerFetchContextImpl::SetDataSaverFlag(blink::WebDataSaverFlag flag) { |
+ data_saver_flag_ = flag; |
} |
-bool WorkerFetchContextImpl::IsDataSaverEnabled() const { |
- return is_data_saver_enabled_; |
+blink::WebDataSaverFlag WorkerFetchContextImpl::DataSaverFlag() const { |
+ return data_saver_flag_; |
} |
void WorkerFetchContextImpl::set_service_worker_provider_id(int id) { |