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

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 gn. 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..57232ef41498b7fda5b509bbdb21bd02b7ea67c7 100644
--- a/chrome/browser/ui/sync/browser_synced_window_delegate.cc
+++ b/chrome/browser/ui/sync/browser_synced_window_delegate.cc
@@ -12,17 +12,15 @@
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "components/sessions/core/session_id.h"
-// BrowserSyncedWindowDelegate implementations
-
BrowserSyncedWindowDelegate::BrowserSyncedWindowDelegate(Browser* browser)
: 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 +29,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