Josiah Kiehl removed Mark Schillaci, Shu Yang, Gazal Agarwal, Hu, Ningxin, Linyu He, Jiewei Qian, Charles Hager, nemco...@google.com, siyua+aut...@chromium.org, antoniosarto...@chromium.org, asvitkine...@chromium.org, blink-rev...@chromium.org, tmartino+tran...@chromium.org, meilian...@chromium.org, armalhotra+a...@google.com, vinnypersky+...@google.com, creis...@chromium.org, chromeos-kio...@google.com, yusufo...@chromium.org, feature-me...@chromium.org, ios-r...@chromium.org, browser-comp...@chromium.org, osaul+aut...@google.com, oshima...@chromium.org, srahim...@chromium.org, loading...@chromium.org, blink-...@chromium.org, alexmo...@chromium.org, performance-m...@chromium.org, asvitki...@chromium.org, orinj...@chromium.org, mkwst+w...@chromium.org, mattsimm...@chromium.org, kinuko...@chromium.org, chromium-a...@chromium.org, kinuko+...@chromium.org, gcasto+w...@chromium.org, chromiumme...@microsoft.com, marq+...@chromium.org, davidj...@chromium.org, wychen...@chromium.org, siashah+au...@chromium.org, gogeral...@chromium.org, yuezhang...@chromium.org, omnibox-...@chromium.org, ender...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, ios-revie...@chromium.org, halliwe...@chromium.org, jdonnel...@chromium.org, android-web...@chromium.org, arthursonzog...@chromium.org and extension...@chromium.org from reviewers of this change.
Contextual Tasks: Enable MojoJS and load extension on startup
Problem:
The Contextual Tasks extension requires MojoJS bindings to
communicate with the browser process. By default, MojoJS is not
enabled for extensions, and enabling it via command-line flags
is not suitable for production. Additionally, the extension
needs to be loaded on startup so that its WebUI data source is
registered and available when needed.
Solution:
- Allowlist the Contextual Tasks extension ID in
IsMojoJsEnabledForExtension within
chrome/browser/extensions/extension_util.cc to programmatically
enable MojoJS for this component extension (guarded by the
contextual_tasks::kContextualTasksRearchitecture feature flag).
- Register and load the extension on startup in
ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages in
chrome/browser/extensions/component_loader.cc (guarded by the
contextual_tasks::kContextualTasksRearchitecture feature flag).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |