| Index: chrome/browser/extensions/api/sessions/sessions_api.cc
|
| diff --git a/chrome/browser/extensions/api/sessions/sessions_api.cc b/chrome/browser/extensions/api/sessions/sessions_api.cc
|
| index edd2fb504cd014231b576d468a97d8201f465df7..4b5af71c269bc52582c54f6895fee0a574ee1e4e 100644
|
| --- a/chrome/browser/extensions/api/sessions/sessions_api.cc
|
| +++ b/chrome/browser/extensions/api/sessions/sessions_api.cc
|
| @@ -349,7 +349,7 @@ api::sessions::Device SessionsGetDevicesFunction::CreateDeviceModel(
|
| }
|
|
|
| bool SessionsGetDevicesFunction::RunSync() {
|
| - ProfileSyncService* service =
|
| + browser_sync::ProfileSyncService* service =
|
| ProfileSyncServiceFactory::GetInstance()->GetForProfile(GetProfile());
|
| if (!(service && service->GetPreferredDataTypes().Has(syncer::SESSIONS))) {
|
| // Sync not enabled.
|
| @@ -496,7 +496,7 @@ bool SessionsRestoreFunction::RestoreLocalSession(const SessionId& session_id,
|
|
|
| bool SessionsRestoreFunction::RestoreForeignSession(const SessionId& session_id,
|
| Browser* browser) {
|
| - ProfileSyncService* service =
|
| + browser_sync::ProfileSyncService* service =
|
| ProfileSyncServiceFactory::GetInstance()->GetForProfile(GetProfile());
|
| if (!(service && service->GetPreferredDataTypes().Has(syncer::SESSIONS))) {
|
| SetError(kSessionSyncError);
|
|
|