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

Unified Diff: extensions/common/feature_switch.cc

Issue 571213003: Revert "Embedded Extension Options: remove flags and trunk channel restrictions" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « extensions/common/feature_switch.h ('k') | extensions/common/manifest_handlers/options_page_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/feature_switch.cc
diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc
index fdf2ac7c9ddbbff757c5aea001995c8c38fd4eac..4ff713755ff8b9bc46221c4127122f75868621f0 100644
--- a/extensions/common/feature_switch.cc
+++ b/extensions/common/feature_switch.cc
@@ -41,6 +41,9 @@ class CommonSwitches {
FeatureSwitch::DEFAULT_DISABLED),
scripts_require_action(switches::kScriptsRequireAction,
FeatureSwitch::DEFAULT_DISABLED),
+ embedded_extension_options(
+ switches::kEmbeddedExtensionOptions,
+ FeatureSwitch::DEFAULT_DISABLED),
app_view(switches::kAppView,
FeatureSwitch::DEFAULT_DISABLED),
mime_handler_view(switches::kMimeHandlerView,
@@ -60,6 +63,7 @@ class CommonSwitches {
FeatureSwitch enable_override_bookmarks_ui;
FeatureSwitch extension_action_redesign;
FeatureSwitch scripts_require_action;
+ FeatureSwitch embedded_extension_options;
FeatureSwitch app_view;
FeatureSwitch mime_handler_view;
};
@@ -90,6 +94,9 @@ FeatureSwitch* FeatureSwitch::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* FeatureSwitch::app_view() {
return &g_common_switches.Get().app_view;
}
« no previous file with comments | « extensions/common/feature_switch.h ('k') | extensions/common/manifest_handlers/options_page_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698