| Index: extensions/common/feature_switch.cc
|
| diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc
|
| index a68ecd71b3d9389faab76e5a8fc2beaa9ee82254..b057863ce9dc74f574843ee37e942352842bf33e 100644
|
| --- a/extensions/common/feature_switch.cc
|
| +++ b/extensions/common/feature_switch.cc
|
| @@ -43,7 +43,9 @@ class CommonSwitches {
|
| FeatureSwitch::DEFAULT_DISABLED),
|
| embedded_extension_options(
|
| switches::kEmbeddedExtensionOptions,
|
| - FeatureSwitch::DEFAULT_DISABLED) {}
|
| + FeatureSwitch::DEFAULT_DISABLED),
|
| + app_view(switches::kAppView,
|
| + FeatureSwitch::DEFAULT_DISABLED) {}
|
|
|
| // Enables extensions to be easily installed from sites other than the web
|
| // store.
|
| @@ -60,6 +62,7 @@ class CommonSwitches {
|
| FeatureSwitch extension_action_redesign;
|
| FeatureSwitch scripts_require_action;
|
| FeatureSwitch embedded_extension_options;
|
| + FeatureSwitch app_view;
|
| };
|
|
|
| base::LazyInstance<CommonSwitches> g_common_switches =
|
| @@ -91,6 +94,9 @@ FeatureSwitch* FeatureSwitch::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;
|
| +}
|
|
|
| FeatureSwitch::ScopedOverride::ScopedOverride(FeatureSwitch* feature,
|
| bool override_value)
|
|
|