Index: chrome/browser/ui/webui/foreign_session_handler.cc |
diff --git a/chrome/browser/ui/webui/foreign_session_handler.cc b/chrome/browser/ui/webui/foreign_session_handler.cc |
index 710eebf5797e14087a3f2dc58cb86a978aff29de..10fd05bdb13ad995064509b2705663a11f88710c 100644 |
--- a/chrome/browser/ui/webui/foreign_session_handler.cc |
+++ b/chrome/browser/ui/webui/foreign_session_handler.cc |
@@ -194,7 +194,7 @@ void ForeignSessionHandler::OpenForeignSessionWindows( |
sync_sessions::OpenTabsUIDelegate* ForeignSessionHandler::GetOpenTabsUIDelegate( |
content::WebUI* web_ui) { |
Profile* profile = Profile::FromWebUI(web_ui); |
- ProfileSyncService* service = |
+ browser_sync::ProfileSyncService* service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
// Only return the delegate if it exists and it is done syncing sessions. |
@@ -207,7 +207,7 @@ sync_sessions::OpenTabsUIDelegate* ForeignSessionHandler::GetOpenTabsUIDelegate( |
void ForeignSessionHandler::RegisterMessages() { |
Profile* profile = Profile::FromWebUI(web_ui()); |
- ProfileSyncService* service = |
+ browser_sync::ProfileSyncService* service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
// NOTE: The ProfileSyncService can be null in tests. |
@@ -238,7 +238,7 @@ void ForeignSessionHandler::OnForeignSessionUpdated() { |
bool ForeignSessionHandler::IsTabSyncEnabled() { |
Profile* profile = Profile::FromWebUI(web_ui()); |
- ProfileSyncService* service = |
+ browser_sync::ProfileSyncService* service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
return service && service->GetActiveDataTypes().Has(syncer::PROXY_TABS); |
} |