Skip to content

Deprecate old patterns for component installers #40545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bridiver opened this issue Aug 19, 2024 · 0 comments · Fixed by brave/brave-core#25206
Closed

Deprecate old patterns for component installers #40545

bridiver opened this issue Aug 19, 2024 · 0 comments · Fixed by brave/brave-core#25206

Comments

@bridiver
Copy link
Contributor

bridiver commented Aug 19, 2024

We should no longer use BraveComponent or LocalDataFilesService/LocalDataFilesObserver. Each component should have it's own installer/component and follow the patterns established in upstream ex https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/component_updater/first_party_sets_component_installer.cc with the use of a singleton to manage the actual data loaded see content::FirstPartySetsHandler::GetInstance() and registration in component::RegisterComponentsForUpdate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants