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

Unified Diff: third_party/WebKit/public/web/WebSettings.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/public/web/WebSettings.h
diff --git a/third_party/WebKit/public/web/WebSettings.h b/third_party/WebKit/public/web/WebSettings.h
index 2078162039cf07b6f2f3594a2a8b859b3d4e2dd5..938670ba66659d08619f94f60a459e413c8e196b 100644
--- a/third_party/WebKit/public/web/WebSettings.h
+++ b/third_party/WebKit/public/web/WebSettings.h
@@ -31,11 +31,12 @@
#ifndef WebSettings_h
#define WebSettings_h
+#include <unicode/uscript.h>
#include "../platform/PointerProperties.h"
#include "../platform/WebCommon.h"
#include "../platform/WebSize.h"
#include "../platform/WebViewportStyle.h"
-#include <unicode/uscript.h>
+#include "WebDataSaverFlag.h"
namespace blink {
@@ -162,7 +163,7 @@ class WebSettings {
virtual void SetCursiveFontFamily(const WebString&,
UScriptCode = USCRIPT_COMMON) = 0;
virtual void SetDNSPrefetchingEnabled(bool) = 0;
- virtual void SetDataSaverEnabled(bool) = 0;
+ virtual void SetDataSaverFlag(WebDataSaverFlag) = 0;
virtual void SetDOMPasteAllowed(bool) = 0;
virtual void SetDefaultFixedFontSize(int) = 0;
virtual void SetDefaultFontSize(int) = 0;

Powered by Google App Engine
This is Rietveld 408576698