| Index: chrome/browser/chrome_to_mobile_service_factory.cc
|
| diff --git a/chrome/browser/chrome_to_mobile_service_factory.cc b/chrome/browser/chrome_to_mobile_service_factory.cc
|
| index a467ca28330bd5ed67020fa1bf0664417ed4980e..99d580917843f3b25e37f6cd1f1e8aa2b4e36da9 100644
|
| --- a/chrome/browser/chrome_to_mobile_service_factory.cc
|
| +++ b/chrome/browser/chrome_to_mobile_service_factory.cc
|
| @@ -19,10 +19,10 @@ ChromeToMobileServiceFactory* ChromeToMobileServiceFactory::GetInstance() {
|
| ChromeToMobileService* ChromeToMobileServiceFactory::GetForProfile(
|
| Profile* profile) {
|
| return static_cast<ChromeToMobileService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| -ProfileKeyedService* ChromeToMobileServiceFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* ChromeToMobileServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| // Ensure that the service is not instantiated or used if it is disabled.
|
| if (!ChromeToMobileService::IsChromeToMobileEnabled())
|
| @@ -32,8 +32,8 @@ ProfileKeyedService* ChromeToMobileServiceFactory::BuildServiceInstanceFor(
|
| }
|
|
|
| ChromeToMobileServiceFactory::ChromeToMobileServiceFactory()
|
| - : ProfileKeyedServiceFactory("ChromeToMobileService",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("ChromeToMobileService",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(ProfileSyncServiceFactory::GetInstance());
|
| DependsOn(TokenServiceFactory::GetInstance());
|
| // TODO(msw): Uncomment this once it exists.
|
|
|