| 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 36d8a8046cfe38144c591b47521b9ab131e33484..a748847213dbdefe9e7f63365418a12583ab6497 100644
|
| --- a/chrome/common/extensions/extension_switch_utils.cc
|
| +++ b/chrome/common/extensions/extension_switch_utils.cc
|
| @@ -17,8 +17,11 @@ bool IsOffStoreInstallEnabled() {
|
| #if defined(USE_AURA)
|
| return true;
|
| #else
|
| - return CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableOffStoreExtensionInstall);
|
| + // Currently, we default to enabling off-store install.
|
| + std::string switch_value =
|
| + CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| + switches::kEnableOffStoreExtensionInstall);
|
| + return switch_value != "0";
|
| #endif
|
| }
|
|
|
|
|