25 lines
842 B
Diff
25 lines
842 B
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Thu, 12 Oct 2017 08:09:24 +0200
|
|
Subject: Do not hide component extensions
|
|
|
|
---
|
|
extensions/common/extension.cc | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
|
|
--- a/extensions/common/extension.cc
|
|
+++ b/extensions/common/extension.cc
|
|
@@ -457,9 +457,8 @@ bool Extension::ShouldDisplayInNewTabPage() const {
|
|
}
|
|
|
|
bool Extension::ShouldExposeViaManagementAPI() const {
|
|
- // Hide component extensions because they are only extensions as an
|
|
- // implementation detail of Chrome.
|
|
- return !extensions::Manifest::IsComponentLocation(location());
|
|
+ // do not hide component extensions
|
|
+ return true;
|
|
}
|
|
|
|
Extension::ManifestData* Extension::GetManifestData(const std::string& key)
|
|
--
|
|
2.25.1
|