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

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

Issue 431323003: Implement --v8-cache-options (instead of --enable-preparsed-js-caching) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixup after more rebase. Created 6 years, 4 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/content_switches.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index 7763755d1ea612ddda65d3929d09030e4fbd40a3..4499d356eac8d95c2b023aa928fad5de564ed8ca 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -35,6 +35,13 @@ enum EditingBehavior {
EDITING_BEHAVIOR_LAST = EDITING_BEHAVIOR_ANDROID
};
+enum V8CacheOptions {
+ V8_CACHE_OPTIONS_OFF,
+ V8_CACHE_OPTIONS_PARSE,
+ V8_CACHE_OPTIONS_CODE,
+ V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_CODE
+};
+
// The ISO 15924 script code for undetermined script aka Common. It's the
// default used on WebKit's side to get/set a font setting when no script is
// specified.
@@ -140,6 +147,7 @@ struct CONTENT_EXPORT WebPreferences {
int pinch_overlay_scrollbar_thickness;
bool use_solid_color_scrollbars;
bool navigate_on_drag_drop;
+ V8CacheOptions v8_cache_options;
// This flags corresponds to a Page's Settings' setCookieEnabled state. It
// only controls whether or not the "document.cookie" field is properly
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698