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

Unified Diff: third_party/WebKit/Source/core/testing/InternalSettings.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: third_party/WebKit/Source/core/testing/InternalSettings.h
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.h b/third_party/WebKit/Source/core/testing/InternalSettings.h
index 5841466e4ef784d3feb512ccfe4767c94f264655..441884b3eec6d235f634d05eb4388fbf78d92dc3 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.h
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.h
@@ -36,6 +36,7 @@
#include "platform/wtf/Allocator.h"
#include "platform/wtf/text/WTFString.h"
#include "public/platform/WebDisplayMode.h"
+#include "public/web/WebDataSaverFlag.h"
namespace blink {
@@ -127,6 +128,7 @@ class InternalSettings final : public InternalSettingsGenerated,
void setCompositorWorkerEnabled(bool, ExceptionState&);
void setPresentationReceiver(bool, ExceptionState&);
void setAutoplayPolicy(const String&, ExceptionState&);
+ void setDataSaverEnabled(bool, ExceptionState&);
// FIXME: The following are RuntimeEnabledFeatures and likely
// cannot be changed after process start. These setters should

Powered by Google App Engine
This is Rietveld 408576698