Index: third_party/WebKit/public/platform/WebWorkerFetchContext.h |
diff --git a/third_party/WebKit/public/platform/WebWorkerFetchContext.h b/third_party/WebKit/public/platform/WebWorkerFetchContext.h |
index cbe3ac73b4ec8b63744e246587d71d2a8753b7b4..e11e33ac6aba06f3b8039db85c1a87800b4a03fe 100644 |
--- a/third_party/WebKit/public/platform/WebWorkerFetchContext.h |
+++ b/third_party/WebKit/public/platform/WebWorkerFetchContext.h |
@@ -5,6 +5,8 @@ |
#ifndef WebWorkerFetchContext_h |
#define WebWorkerFetchContext_h |
+#include "third_party/WebKit/public/web/WebDataSaverFlag.h" |
+ |
namespace base { |
class SingleThreadTaskRunner; |
} // namespace base |
@@ -38,8 +40,8 @@ class WebWorkerFetchContext { |
virtual bool IsControlledByServiceWorker() const = 0; |
// The flag for Data Saver. |
- virtual void SetDataSaverEnabled(bool) = 0; |
- virtual bool IsDataSaverEnabled() const = 0; |
+ virtual void SetDataSaverFlag(blink::WebDataSaverFlag) = 0; |
+ virtual blink::WebDataSaverFlag DataSaverFlag() const = 0; |
}; |
} // namespace blink |