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

Unified Diff: public/web/WebSettings.h

Issue 1195763002: Cleanup: Remove experimental V8 cache strategies that we discarded. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add #if-guard for multi-CL change. Created 5 years, 6 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 | « Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSettings.h
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h
index 3eeb7a88a7d50f27bf0e31a47b19092cc7bb67d3..ed5a8e39db7daec897c8c787f68b565f610fa6d4 100644
--- a/public/web/WebSettings.h
+++ b/public/web/WebSettings.h
@@ -39,6 +39,10 @@ namespace blink {
class WebString;
+// Temporary #if guard for a multi-CL change across blink + Chrome.
+// See crrev.com/1192323002 for details.
+#define CLEANUP_V8_CACHE_OPTIONS_GUARD
+
// WebSettings is owned by the WebView and allows code to modify the settings for
// the WebView's page without any knowledge of WebCore itself. For the most part,
// these functions have a 1:1 mapping with the methods in WebCore/page/Settings.h.
@@ -59,17 +63,9 @@ public:
enum V8CacheOptions {
V8CacheOptionsDefault,
+ V8CacheOptionsNone,
V8CacheOptionsParse,
V8CacheOptionsCode,
- V8CacheOptionsCodeCompressed,
- V8CacheOptionsNone,
- V8CacheOptionsParseMemory,
- V8CacheOptionsHeuristics,
- V8CacheOptionsHeuristicsMobile,
- V8CacheOptionsHeuristicsDefault,
- V8CacheOptionsHeuristicsDefaultMobile,
- V8CacheOptionsRecent,
- V8CacheOptionsRecentSmall
};
// Bit field values indicating available pointer types. Identical to
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698