summaryrefslogtreecommitdiffstats
path: root/chrome/browser/usb/usb_service_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/usb/usb_service_factory.cc')
-rw-r--r--chrome/browser/usb/usb_service_factory.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/usb/usb_service_factory.cc b/chrome/browser/usb/usb_service_factory.cc
index cd91233..b2622c9 100644
--- a/chrome/browser/usb/usb_service_factory.cc
+++ b/chrome/browser/usb/usb_service_factory.cc
@@ -15,15 +15,15 @@ UsbServiceFactory* UsbServiceFactory::GetInstance() {
UsbService* UsbServiceFactory::GetForProfile(Profile* profile) {
return static_cast<UsbService*>(
- GetInstance()->GetServiceForProfile(profile, true));
+ GetInstance()->GetServiceForBrowserContext(profile, true));
}
-UsbServiceFactory::UsbServiceFactory() : ProfileKeyedServiceFactory(
- "UsbService", ProfileDependencyManager::GetInstance()) {}
+UsbServiceFactory::UsbServiceFactory() : BrowserContextKeyedServiceFactory(
+ "UsbService", BrowserContextDependencyManager::GetInstance()) {}
UsbServiceFactory::~UsbServiceFactory() {}
-ProfileKeyedService* UsbServiceFactory::BuildServiceInstanceFor(
+BrowserContextKeyedService* UsbServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
return new UsbService();
}