diff options
Diffstat (limited to 'extensions/common/extension.cc')
-rw-r--r-- | extensions/common/extension.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc index a35aa6b..10e065b 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; } |