#include "chrome/browser/ui/sync/browser_synced_window_delegate.h"
#include <set>
#include "base/feature_list.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/sync/browser_synced_tab_delegate.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "components/sync/base/features.h"
BrowserSyncedWindowDelegate::BrowserSyncedWindowDelegate(Browser* browser)
: … { … }
BrowserSyncedWindowDelegate::~BrowserSyncedWindowDelegate() = default;
void BrowserSyncedWindowDelegate::OnTabStripModelChanged(
TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }
bool BrowserSyncedWindowDelegate::IsTabPinned(
const sync_sessions::SyncedTabDelegate* tab) const { … }
sync_sessions::SyncedTabDelegate* BrowserSyncedWindowDelegate::GetTabAt(
int index) const { … }
SessionID BrowserSyncedWindowDelegate::GetTabIdAt(int index) const { … }
bool BrowserSyncedWindowDelegate::HasWindow() const { … }
SessionID BrowserSyncedWindowDelegate::GetSessionId() const { … }
int BrowserSyncedWindowDelegate::GetTabCount() const { … }
bool BrowserSyncedWindowDelegate::IsTypeNormal() const { … }
bool BrowserSyncedWindowDelegate::IsTypePopup() const { … }
bool BrowserSyncedWindowDelegate::IsSessionRestoreInProgress() const { … }
bool BrowserSyncedWindowDelegate::ShouldSync() const { … }