Index: extensions/common/feature_switch.cc |
diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc |
index b057863ce9dc74f574843ee37e942352842bf33e..4ff713755ff8b9bc46221c4127122f75868621f0 100644 |
--- a/extensions/common/feature_switch.cc |
+++ b/extensions/common/feature_switch.cc |
@@ -45,7 +45,9 @@ class CommonSwitches { |
switches::kEmbeddedExtensionOptions, |
FeatureSwitch::DEFAULT_DISABLED), |
app_view(switches::kAppView, |
- FeatureSwitch::DEFAULT_DISABLED) {} |
+ FeatureSwitch::DEFAULT_DISABLED), |
+ mime_handler_view(switches::kMimeHandlerView, |
+ FeatureSwitch::DEFAULT_DISABLED) {} |
// Enables extensions to be easily installed from sites other than the web |
// store. |
@@ -63,6 +65,7 @@ class CommonSwitches { |
FeatureSwitch scripts_require_action; |
FeatureSwitch embedded_extension_options; |
FeatureSwitch app_view; |
+ FeatureSwitch mime_handler_view; |
}; |
base::LazyInstance<CommonSwitches> g_common_switches = |
@@ -97,6 +100,9 @@ FeatureSwitch* FeatureSwitch::embedded_extension_options() { |
FeatureSwitch* FeatureSwitch::app_view() { |
return &g_common_switches.Get().app_view; |
} |
+FeatureSwitch* FeatureSwitch::mime_handler_view() { |
+ return &g_common_switches.Get().mime_handler_view; |
+} |
FeatureSwitch::ScopedOverride::ScopedOverride(FeatureSwitch* feature, |
bool override_value) |