| Index: chrome/browser/chromeos/drive/drive_integration_service.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| index b2a0078b5da3a4d266b3c1187f2269eb5acb6265..e695a84f7fb28df59d7266e1b672e2cb456318fb 100644
|
| --- a/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| @@ -380,7 +380,7 @@ DriveIntegrationService*
|
| DriveIntegrationServiceFactory::GetForProfileRegardlessOfStates(
|
| Profile* profile) {
|
| return static_cast<DriveIntegrationService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -398,7 +398,7 @@ DriveIntegrationService*
|
| DriveIntegrationServiceFactory::FindForProfileRegardlessOfStates(
|
| Profile* profile) {
|
| return static_cast<DriveIntegrationService*>(
|
| - GetInstance()->GetServiceForProfile(profile, false));
|
| + GetInstance()->GetServiceForBrowserContext(profile, false));
|
| }
|
|
|
| // static
|
| @@ -413,8 +413,8 @@ void DriveIntegrationServiceFactory::SetFactoryForTest(
|
| }
|
|
|
| DriveIntegrationServiceFactory::DriveIntegrationServiceFactory()
|
| - : ProfileKeyedServiceFactory("DriveIntegrationService",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("DriveIntegrationService",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(google_apis::DriveNotificationManagerFactory::GetInstance());
|
| DependsOn(DownloadServiceFactory::GetInstance());
|
| }
|
| @@ -422,7 +422,7 @@ DriveIntegrationServiceFactory::DriveIntegrationServiceFactory()
|
| DriveIntegrationServiceFactory::~DriveIntegrationServiceFactory() {
|
| }
|
|
|
| -ProfileKeyedService* DriveIntegrationServiceFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* DriveIntegrationServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = static_cast<Profile*>(context);
|
|
|
|
|