
Any class inheriting `BrowserContextKeyedServiceFactory` should implements either `BuildServiceInstanceForBrowserContext` or `BuildServiceInstanceFor`. The second one being deprecated, this CLreplaces it by the first one. This also ensures that, instead of applying `WrapUnique` to a `new` raw ptr, it directly uses `make_unique`. Bug: 40249337 Change-Id: Ia2e99f80a43e0b56449aa5585d810bdd832c1668 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4797779 Reviewed-by: Stefan Kuhne <skuhne@chromium.org> Auto-Submit: Arthur Milchior <arthurmilchior@chromium.org> Commit-Queue: Arthur Milchior <arthurmilchior@chromium.org> Cr-Commit-Position: refs/heads/main@{#1378740}