Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(804)

Unified Diff: chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
index c759bdfd51a109fdd97892744e0fca1d9f9a8f86..68f0fbf74e775d4af92f5eb0311bc7dfd6b22b47 100644
--- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
@@ -711,8 +711,9 @@ void RecentTabsSubMenuModel::ClearLocalEntries() {
sync_sessions::OpenTabsUIDelegate*
RecentTabsSubMenuModel::GetOpenTabsUIDelegate() {
if (!open_tabs_delegate_) {
- ProfileSyncService* service = ProfileSyncServiceFactory::GetInstance()->
- GetForProfile(browser_->profile());
+ browser_sync::ProfileSyncService* service =
+ ProfileSyncServiceFactory::GetInstance()->GetForProfile(
+ browser_->profile());
// Only return the delegate if it exists and it is done syncing sessions.
if (service && service->IsSyncActive())
open_tabs_delegate_ = service->GetOpenTabsUIDelegate();

Powered by Google App Engine
This is Rietveld 408576698