
IsExtensionEnabled() has moved to ExtensionRegistrar. Redirect callers to ExtensionRegistrar. Add ExtensionRegistry::GetWeakPtr() so SyncWorker can use weak pointers for both the registry and registrar and not worry about the relative lifetimes of these objects. This CL is addressing code review feedback in: https://chromium-review.googlesource.com/c/chromium/src/+/6306049 Bug: 396722906 Change-Id: I193c93df7c52303f97bb895f0be8856c77a62739 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6340709 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by: David Bertoni <dbertoni@chromium.org> Reviewed-by: Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1431904}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: