#include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "components/sync/base/features.h"
#include "components/sync/protocol/sync_enums.pb.h"
#include "components/sync_sessions/mock_sync_sessions_client.h"
#include "components/sync_sessions/test_synced_window_delegates_getter.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
namespace {
constexpr base::TimeDelta kSyncActiveTimeThreshold = …;
class TestSyncedTabDelegate : public TabContentsSyncedTabDelegate { … };
class TabContentsSyncedTabDelegateTest
: public ChromeRenderViewHostTestHarness { … };
TEST_F(TabContentsSyncedTabDelegateTest, InvalidEntryIndexReturnsDefault) { … }
TEST_F(TabContentsSyncedTabDelegateTest,
ShouldSyncReturnsFalseOnWebContentsOnInitialNavigationEntry) { … }
TEST_F(TabContentsSyncedTabDelegateTest, CachedLastActiveTime) { … }
TEST_F(TabContentsSyncedTabDelegateTest, ResetCachedLastActiveTime) { … }
}