commit | ce5e78feaeb4411b3a3a695539e935e672a5d0db | [log] [tgz] |
---|---|---|
author | Arthur Milchior <arthurmilchior@chromium.org> | Tue Nov 05 03:46:33 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 05 03:46:33 2024 |
tree | 933a3e6b5182d74ace05cb48abe371e4e542bbde | |
parent | 90056665bd11d63b9d57b6ffd8b2925e68095347 [diff] |
[BrowserContextKeyedAPIFactory]Migrate away from a deprecate function Any class inheriting `BrowserContextKeyedServiceFactory` should implement either `BuildServiceInstanceForBrowserContext` or `BuildServiceInstanceFor`. The second one was deprecated. This CL implements `BuildServiceInstanceForBrowserContext` in `BrowserContextKeyedAPIFactory`. It should be noted that two subclasses of `BrowserContextKeyedAPIFactory` implements `BuildServiceInstanceFor`. So we must currently keep it in `BrowserContextKeyedAPIFactory`. In the two next CL of the chain, those subclasses will be updated. In the last CL, the deprecated method can be removed. Bug: 40249337 Change-Id: I3c3d43a1b78cc3b958d15364eb6ba3b9bb8fda67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4802087 Reviewed-by: Reilly Grant <reillyg@chromium.org> Auto-Submit: Arthur Milchior <arthurmilchior@chromium.org> Commit-Queue: Arthur Milchior <arthurmilchior@chromium.org> Cr-Commit-Position: refs/heads/main@{#1378096}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.