force_dev_mode_highlighting(
switches::kForceDevModeHighlighting,
FeatureSwitch::DEFAULT_DISABLED),
- global_commands(
- switches::kGlobalCommands,
-#if defined(OS_CHROMEOS)
- FeatureSwitch::DEFAULT_DISABLED),
-#else
- FeatureSwitch::DEFAULT_ENABLED),
-#endif
prompt_for_external_extensions(
NULL,
#if defined(OS_WIN)
enable_override_bookmarks_ui(
switches::kEnableOverrideBookmarksUI,
FeatureSwitch::DEFAULT_DISABLED),
+ extension_action_redesign(
+ switches::kExtensionActionRedesign,
+ FeatureSwitch::DEFAULT_DISABLED),
scripts_require_action(switches::kScriptsRequireAction,
- FeatureSwitch::DEFAULT_DISABLED) {}
+ FeatureSwitch::DEFAULT_DISABLED),
+ embedded_extension_options(
+ switches::kEmbeddedExtensionOptions,
+ FeatureSwitch::DEFAULT_DISABLED) {}
// Enables extensions to be easily installed from sites other than the web
// store.
FeatureSwitch easy_off_store_install;
FeatureSwitch force_dev_mode_highlighting;
- FeatureSwitch global_commands;
// Should we prompt the user before allowing external extensions to install?
// Default is yes.
FeatureSwitch error_console;
FeatureSwitch enable_override_bookmarks_ui;
+ FeatureSwitch extension_action_redesign;
FeatureSwitch scripts_require_action;
+ FeatureSwitch embedded_extension_options;
};
base::LazyInstance<CommonSwitches> g_common_switches =
FeatureSwitch* FeatureSwitch::easy_off_store_install() {
return &g_common_switches.Get().easy_off_store_install;
}
-FeatureSwitch* FeatureSwitch::global_commands() {
- return &g_common_switches.Get().global_commands;
-}
FeatureSwitch* FeatureSwitch::prompt_for_external_extensions() {
return &g_common_switches.Get().prompt_for_external_extensions;
}
FeatureSwitch* FeatureSwitch::enable_override_bookmarks_ui() {
return &g_common_switches.Get().enable_override_bookmarks_ui;
}
-
+FeatureSwitch* FeatureSwitch::extension_action_redesign() {
+ return &g_common_switches.Get().extension_action_redesign;
+}
FeatureSwitch* FeatureSwitch::scripts_require_action() {
return &g_common_switches.Get().scripts_require_action;
}
+FeatureSwitch* FeatureSwitch::embedded_extension_options() {
+ return &g_common_switches.Get().embedded_extension_options;
+}
FeatureSwitch::ScopedOverride::ScopedOverride(FeatureSwitch* feature,
bool override_value)