Implement the non-deprecated builder.

Any class inheriting `BrowserContextKeyedServiceFactory` should
implement either `BuildServiceInstanceForBrowserContext` or
`BuildServiceInstanceFor`. The second one was deprecated,
this CL replaces it with the first one.

Bug: 1396138
Change-Id: I121117a2bd196914d2854b770b944c0225fe4684
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4798396
Reviewed-by: Jack Hsieh <[email protected]>
Commit-Queue: Jack Hsieh <[email protected]>
Auto-Submit: Arthur Milchior <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1299326}
diff --git a/chrome/browser/usb/usb_chooser_context_factory.h b/chrome/browser/usb/usb_chooser_context_factory.h
index 31dad47..746e6e7 100644
--- a/chrome/browser/usb/usb_chooser_context_factory.h
+++ b/chrome/browser/usb/usb_chooser_context_factory.h
@@ -27,7 +27,7 @@
   ~UsbChooserContextFactory() override;
 
   // BrowserContextKeyedServiceFactory methods:
-  KeyedService* BuildServiceInstanceFor(
+  std::unique_ptr<KeyedService> BuildServiceInstanceForBrowserContext(
       content::BrowserContext* profile) const override;
   void BrowserContextShutdown(content::BrowserContext* context) override;
 };