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

Unified Diff: content/public/common/web_preferences.cc

Issue 861753002: Add experimental v8 code cache options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « content/public/common/web_preferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/web_preferences.cc
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index 1df8e5e3409d38b51b98c47bd49dff083dc03406..5563c00caafee35e676f6491e6e01001e44c129e 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -47,8 +47,17 @@ STATIC_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_HEURISTICS,
WebSettings::V8CacheOptionsHeuristics);
STATIC_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_HEURISTICS_MOBILE,
WebSettings::V8CacheOptionsHeuristicsMobile);
+STATIC_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_HEURISTICS_DEFAULT,
+ WebSettings::V8CacheOptionsHeuristicsDefault);
+STATIC_ASSERT_MATCHING_ENUMS(
+ V8_CACHE_OPTIONS_HEURISTICS_DEFAULT_MOBILE,
+ WebSettings::V8CacheOptionsHeuristicsDefaultMobile);
+STATIC_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_RECENT,
+ WebSettings::V8CacheOptionsRecent);
+STATIC_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_RECENT_SMALL,
+ WebSettings::V8CacheOptionsRecentSmall);
STATIC_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_LAST,
- WebSettings::V8CacheOptionsHeuristicsMobile);
+ WebSettings::V8CacheOptionsRecentSmall);
STATIC_ASSERT_MATCHING_ENUMS(V8_SCRIPT_STREAMING_MODE_ALL,
WebSettings::V8ScriptStreamingModeAll);
« no previous file with comments | « content/public/common/web_preferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698