namespace {
const int kModernManifestVersion = 2;
-const int kPEMOutputColumns = 65;
+const int kPEMOutputColumns = 64;
// KEY MARKERS
const char kKeyBeginHeaderMarker[] = "-----BEGIN";
// options for component extension button but now there is no component
// extension with options. All other menu items like uninstall have
// no sense for component extensions.
- return location() != Manifest::COMPONENT;
+ return location() != Manifest::COMPONENT &&
+ location() != Manifest::EXTERNAL_COMPONENT;
}
bool Extension::OverlapsWithOrigin(const GURL& origin) 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 ||
- location() == Manifest::EXTERNAL_COMPONENT) &&
+ if (extensions::Manifest::IsComponentLocation(location()) &&
!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kShowComponentExtensionOptions)) {
return true;