Index: content/renderer/service_worker/service_worker_fetch_context_impl.cc |
diff --git a/content/renderer/service_worker/service_worker_fetch_context_impl.cc b/content/renderer/service_worker/service_worker_fetch_context_impl.cc |
index 9de7876345657359953366de74363e39a6c755f3..e22f1a8917b07aaebb112e8a17b78800c53885e8 100644 |
--- a/content/renderer/service_worker/service_worker_fetch_context_impl.cc |
+++ b/content/renderer/service_worker/service_worker_fetch_context_impl.cc |
@@ -46,12 +46,13 @@ bool ServiceWorkerFetchContextImpl::IsControlledByServiceWorker() const { |
return false; |
} |
-void ServiceWorkerFetchContextImpl::SetDataSaverEnabled(bool enabled) { |
- is_data_saver_enabled_ = enabled; |
+void ServiceWorkerFetchContextImpl::SetDataSaverFlag( |
+ blink::WebDataSaverFlag flag) { |
+ data_saver_flag_ = flag; |
} |
-bool ServiceWorkerFetchContextImpl::IsDataSaverEnabled() const { |
- return is_data_saver_enabled_; |
+blink::WebDataSaverFlag ServiceWorkerFetchContextImpl::DataSaverFlag() const { |
+ return data_saver_flag_; |
} |
} // namespace content |