| Index: content/public/common/web_preferences.h
|
| diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
|
| index 2a75e3087ba1f60a1ca79502a1c491f00d476037..114c9b233388475edbd94c197ac2f504ba3b2ea3 100644
|
| --- a/content/public/common/web_preferences.h
|
| +++ b/content/public/common/web_preferences.h
|
| @@ -42,6 +42,16 @@ enum V8CacheOptions {
|
| V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_CODE
|
| };
|
|
|
| +// Strategies to cache V8 data in CacheStorage. (off, normal, or aggressive)
|
| +enum V8CacheStrategiesForCacheStorage {
|
| + V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_DEFAULT,
|
| + V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_NONE,
|
| + V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_NORMAL,
|
| + V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_AGGRESSIVE,
|
| + V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_LAST =
|
| + V8_CACHE_STRATEGIES_FOR_CACHE_STORAGE_AGGRESSIVE
|
| +};
|
| +
|
| // ImageAnimationPolicy is used for controlling image animation
|
| // when image frame is rendered for animation.
|
| // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h
|
| @@ -177,6 +187,7 @@ struct CONTENT_EXPORT WebPreferences {
|
| bool use_solid_color_scrollbars;
|
| bool navigate_on_drag_drop;
|
| V8CacheOptions v8_cache_options;
|
| + V8CacheStrategiesForCacheStorage v8_cache_strategies_for_cache_storage;
|
| bool inert_visual_viewport;
|
| bool record_whole_document;
|
|
|
|
|