1234567891011121314151617181920212223242526 |
- 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
- @@ -419,9 +419,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.17.1
|