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

Unified Diff: chrome/browser/extensions/extension_install_prompt.cc

Issue 648113002: Removing extensions::FeatureSwitch which is no longer used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: chrome/browser/extensions/extension_install_prompt.cc
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc
index 0af21940338ff4a6ee58dd25248b0c960ba20dba..940457a18f314174c9c7a9c19e57cced9988fd6d 100644
--- a/chrome/browser/extensions/extension_install_prompt.cc
+++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -737,8 +737,7 @@ void ExtensionInstallPrompt::ConfirmInstall(
// disabled because in that case, we don't show the dangerous download UI, so
// we need the UI confirmation.
if (extension->is_theme()) {
- if (extension->from_webstore() ||
- extensions::FeatureSwitch::easy_off_store_install()->IsEnabled()) {
+ if (extension->from_webstore()) {
delegate->InstallUIProceed();
return;
}
« no previous file with comments | « chrome/browser/extensions/extension_context_menu_model.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698