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

Unified Diff: extensions/common/feature_switch.cc

Issue 2668863002: [Extensions] Remove FeatureSwitch::easy_off_store_install (Closed)
Patch Set: Add TODO for histograms Created 3 years, 11 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
Index: extensions/common/feature_switch.cc
diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc
index 84eaa9043fab39cde1dbc7532779ebd7c007d37e..164f6334a92fbc22bcc61ff4186c424d2bcdf402 100644
--- a/extensions/common/feature_switch.cc
+++ b/extensions/common/feature_switch.cc
@@ -25,8 +25,7 @@ const char kExtensionActionRedesignExperiment[] = "ExtensionActionRedesign";
class CommonSwitches {
public:
CommonSwitches()
- : easy_off_store_install(nullptr, FeatureSwitch::DEFAULT_DISABLED),
- force_dev_mode_highlighting(switches::kForceDevModeHighlighting,
+ : force_dev_mode_highlighting(switches::kForceDevModeHighlighting,
FeatureSwitch::DEFAULT_DISABLED),
prompt_for_external_extensions(
#if defined(CHROMIUM_BUILD)
@@ -62,10 +61,6 @@ class CommonSwitches {
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;
// Should we prompt the user before allowing external extensions to install?
@@ -90,9 +85,6 @@ base::LazyInstance<CommonSwitches> g_common_switches =
FeatureSwitch* FeatureSwitch::force_dev_mode_highlighting() {
return &g_common_switches.Get().force_dev_mode_highlighting;
}
-FeatureSwitch* FeatureSwitch::easy_off_store_install() {
- return &g_common_switches.Get().easy_off_store_install;
-}
FeatureSwitch* FeatureSwitch::prompt_for_external_extensions() {
return &g_common_switches.Get().prompt_for_external_extensions;
}
« chrome/browser/extensions/crx_installer.cc ('K') | « extensions/common/feature_switch.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698