blob: 75d98d25ec86ffbece8a7b3448f416084d4c9c69 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_TABS_TAB_MODEL_SYNCED_WINDOW_DELEGATE_GETTER_H_
#define IOS_CHROME_BROWSER_TABS_TAB_MODEL_SYNCED_WINDOW_DELEGATE_GETTER_H_
#include <set>
#include "base/macros.h"
#include "components/sessions/core/session_id.h"
#include "components/sync_sessions/synced_window_delegates_getter.h"
namespace browser_sync {
class SyncedWindowDelegate;
}
class TabModelSyncedWindowDelegatesGetter
: public sync_sessions::SyncedWindowDelegatesGetter {
public:
TabModelSyncedWindowDelegatesGetter();
~TabModelSyncedWindowDelegatesGetter() override;
// sync_sessions::SyncedWindowDelegatesGetter:
SyncedWindowDelegateMap GetSyncedWindowDelegates() override;
const sync_sessions::SyncedWindowDelegate* FindById(
SessionID::id_type session_id) override;
private:
DISALLOW_COPY_AND_ASSIGN(TabModelSyncedWindowDelegatesGetter);
};
#endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_SYNCED_WINDOW_DELEGATE_GETTER_H_