summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.cc
diff options
context:
space:
mode:
authoryefim@chromium.org <yefim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 03:06:39 +0000
committeryefim@chromium.org <yefim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 03:06:39 +0000
commit12271633c7a7b43d0dcd9ad210be2dd57e0cf596 (patch)
treefb8ac09cdded5cdb02e480ca87b8741c9dce447c /extensions/common/extension.cc
parent5f3194050ef38a42beafc56451c03aa6ed469a72 (diff)
downloadchromium_src-12271633c7a7b43d0dcd9ad210be2dd57e0cf596.zip
chromium_src-12271633c7a7b43d0dcd9ad210be2dd57e0cf596.tar.gz
chromium_src-12271633c7a7b43d0dcd9ad210be2dd57e0cf596.tar.bz2
Added enhanced bookmarks extension as an external component extension
BUG=321393 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/68173031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.cc')
-rw-r--r--extensions/common/extension.cc5
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;
}