#include "components/sync_sessions/open_tabs_ui_delegate_impl.h"
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "components/sessions/core/serialized_navigation_entry_test_helper.h"
#include "components/sync_sessions/mock_sync_sessions_client.h"
#include "components/sync_sessions/synced_session_tracker.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace sync_sessions {
namespace {
SessionTab;
ElementsAre;
Field;
Pointee;
Property;
const char kSessionTag1[] = …;
const char kSessionTag2[] = …;
const char kSessionTag3[] = …;
const SessionID kWindowId1 = …;
const SessionID kWindowId2 = …;
const SessionID kWindowId3 = …;
const SessionID kTabId1 = …;
const SessionID kTabId2 = …;
const SessionID kTabId3 = …;
void IngnoreForeignSessionDeletion(const std::string& session_tag) { … }
class OpenTabsUIDelegateImplTest : public testing::Test { … };
TEST_F(OpenTabsUIDelegateImplTest, ShouldSortSessions) { … }
TEST_F(OpenTabsUIDelegateImplTest, ShouldSortTabs) { … }
TEST_F(OpenTabsUIDelegateImplTest, ShouldSkipNonPresentable) { … }
TEST_F(OpenTabsUIDelegateImplTest, ShouldSkipNonSyncableTabs) { … }
}
}