blob: 3479a2907cb7c5897cc136a8dcb2fe30fa15f9a7 [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 session_id) override;
private:
DISALLOW_COPY_AND_ASSIGN(TabModelSyncedWindowDelegatesGetter);
};
#endif // IOS_CHROME_BROWSER_TABS_TAB_MODEL_SYNCED_WINDOW_DELEGATE_GETTER_H_