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

Unified Diff: third_party/WebKit/public/web/WebSettings.h

Issue 1914963002: Introduce v8-cache-strategies-for-cache-storage setting flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0ed0f2c03ae65bb26215e2b50bd981ab7d28ca9e..f215571a484abbe5daa99c9b5486bbdbe07727c9 100644
--- a/third_party/WebKit/public/web/WebSettings.h
+++ b/third_party/WebKit/public/web/WebSettings.h
@@ -66,6 +66,13 @@ public:
V8CacheOptionsCode,
};
+ enum class V8CacheStrategiesForCacheStorage {
+ Default,
+ None,
+ Normal,
+ Aggressive,
+ };
+
// Selection strategy defines how the selection granularity changes when the
// selection extent is moved.
enum class SelectionStrategyType {
@@ -242,6 +249,7 @@ public:
virtual void setUseWideViewport(bool) = 0;
virtual void setUsesEncodingDetector(bool) = 0;
virtual void setV8CacheOptions(V8CacheOptions) = 0;
+ virtual void setV8CacheStrategiesForCacheStorage(V8CacheStrategiesForCacheStorage) = 0;
virtual void setValidationMessageTimerMagnification(int) = 0;
virtual void setViewportEnabled(bool) = 0;
virtual void setViewportMetaEnabled(bool) = 0;
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698