| Index: extensions/common/extension.cc
|
| diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
|
| index f38d547a0f322301e78f7b629fe64c5a1e4c07b5..aef22cc036ccfbd3a115662c4a8d89b77e184f43 100644
|
| --- a/extensions/common/extension.cc
|
| +++ b/extensions/common/extension.cc
|
| @@ -368,9 +368,10 @@ bool Extension::ShouldDisplayInExtensionSettings() const {
|
| bool Extension::ShouldNotBeVisible() const {
|
| // Don't show component extensions because they are only extensions as an
|
| // implementation detail of Chrome.
|
| - if (location() == Manifest::COMPONENT &&
|
| + if ((location() == Manifest::COMPONENT ||
|
| + location() == Manifest::EXTERNAL_COMPONENT) &&
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kShowComponentExtensionOptions)) {
|
| + switches::kShowComponentExtensionOptions)) {
|
| return true;
|
| }
|
|
|
|
|