| Index: chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc
|
| diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc
|
| index 812a71bd7e717fef04c7f1d47fa8c1d1ef77e293..a029c4d83865baf460d5338ee79be7cfca67bfba 100644
|
| --- a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc
|
| +++ b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc
|
| @@ -14,7 +14,7 @@ namespace notifier {
|
| ChromeNotifierService* ChromeNotifierServiceFactory::GetForProfile(
|
| Profile* profile, Profile::ServiceAccessType sat) {
|
| return static_cast<ChromeNotifierService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -23,13 +23,14 @@ ChromeNotifierServiceFactory* ChromeNotifierServiceFactory::GetInstance() {
|
| }
|
|
|
| ChromeNotifierServiceFactory::ChromeNotifierServiceFactory()
|
| - : ProfileKeyedServiceFactory(
|
| - "ChromeNotifierService", ProfileDependencyManager::GetInstance()) {}
|
| + : BrowserContextKeyedServiceFactory(
|
| + "ChromeNotifierService",
|
| + BrowserContextDependencyManager::GetInstance()) {}
|
|
|
| ChromeNotifierServiceFactory::~ChromeNotifierServiceFactory() {
|
| }
|
|
|
| -ProfileKeyedService*
|
| +BrowserContextKeyedService*
|
| ChromeNotifierServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| NotificationUIManager* notification_manager =
|
|
|