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

Unified Diff: chrome/common/extensions/extension_switch_utils.cc

Issue 10356052: Disable off-store extension installs by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: argh Created 8 years, 7 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/common/extensions/extension_switch_utils.cc
diff --git a/chrome/common/extensions/extension_switch_utils.cc b/chrome/common/extensions/extension_switch_utils.cc
index 7f4dcf6964e787935f0a62a5f19c6bb9e5768c5b..e5f43a31aca7f770c174dfa14311b0daa3315417 100644
--- a/chrome/common/extensions/extension_switch_utils.cc
+++ b/chrome/common/extensions/extension_switch_utils.cc
@@ -17,8 +17,8 @@ bool IsOffStoreInstallEnabled() {
#if defined(USE_AURA)
return true;
#else
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableOffStoreExtensionInstall);
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableOffStoreExtensionInstall);
#endif
}
« chrome/browser/extensions/webstore_installer.cc ('K') | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698