Skip to content

Commit

Permalink
extensions: always show component extensions in the ext list
Browse files Browse the repository at this point in the history
The attached patch makes sure that component extensions are always
shown in "chrome://extensions".

Currently these are
- Bookmark Manager
- Chromium PDF Viewer
- CryptoTokenExtension

References: https://github.com/iridium-browser/iridium-browser/issues/28
  • Loading branch information
jengelh committed Nov 14, 2023
1 parent 4d4acb1 commit e8d5df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/browser/api/management/management_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ AutoConfirmForTest auto_confirm_for_test = DO_NOT_SKIP;
// Returns true if the extension should be exposed via the chrome.management
// API.
bool ShouldExposeViaManagementAPI(const Extension& extension) {
return !Manifest::IsComponentLocation(extension.location());
return false;
}

std::vector<std::string> CreateWarningsList(const Extension* extension) {
Expand Down

0 comments on commit e8d5df1

Please sign in to comment.