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

Unified Diff: chrome/browser/ui/sync/browser_synced_window_delegate.cc

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix Android. 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/sync/browser_synced_window_delegate.cc
diff --git a/chrome/browser/ui/sync/browser_synced_window_delegate.cc b/chrome/browser/ui/sync/browser_synced_window_delegate.cc
index 912b20ba22069c4eac70e8005eb3e67ba1117b6e..b0b990903583e18fcea3ae1be740c219ad24d172 100644
--- a/chrome/browser/ui/sync/browser_synced_window_delegate.cc
+++ b/chrome/browser/ui/sync/browser_synced_window_delegate.cc
@@ -20,9 +20,9 @@ BrowserSyncedWindowDelegate::BrowserSyncedWindowDelegate(Browser* browser)
BrowserSyncedWindowDelegate::~BrowserSyncedWindowDelegate() {}
bool BrowserSyncedWindowDelegate::IsTabPinned(
- const browser_sync::SyncedTabDelegate* tab) const {
+ const sync_sessions::SyncedTabDelegate* tab) const {
for (int i = 0; i < browser_->tab_strip_model()->count(); i++) {
- browser_sync::SyncedTabDelegate* current = GetTabAt(i);
+ sync_sessions::SyncedTabDelegate* current = GetTabAt(i);
if (tab == current)
return browser_->tab_strip_model()->IsTabPinned(i);
}
@@ -31,7 +31,7 @@ bool BrowserSyncedWindowDelegate::IsTabPinned(
return false;
}
-browser_sync::SyncedTabDelegate* BrowserSyncedWindowDelegate::GetTabAt(
+sync_sessions::SyncedTabDelegate* BrowserSyncedWindowDelegate::GetTabAt(
int index) const {
return TabContentsSyncedTabDelegate::FromWebContents(
browser_->tab_strip_model()->GetWebContentsAt(index));

Powered by Google App Engine
This is Rietveld 408576698