#include "base/callback_list.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "build/buildflag.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/send_tab_to_self/send_tab_to_self_util.h"
#include "chrome/browser/sync/send_tab_to_self_sync_service_factory.h"
#include "chrome/browser/sync/test/integration/bookmarks_helper.h"
#include "chrome/browser/sync/test/integration/secondary_account_helper.h"
#include "chrome/browser/sync/test/integration/send_tab_to_self_helper.h"
#include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
#include "chrome/browser/sync/test/integration/sync_service_impl_harness.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/ui/browser.h"
#include "components/history/core/browser/history_service.h"
#include "components/keyed_service/core/service_access_type.h"
#include "components/send_tab_to_self/send_tab_to_self_model.h"
#include "components/send_tab_to_self/send_tab_to_self_sync_service.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/sync/base/time.h"
#include "components/sync/protocol/entity_specifics.pb.h"
#include "components/sync/protocol/send_tab_to_self_specifics.pb.h"
#include "content/public/test/browser_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "url/gurl.h"
namespace {
class SingleClientSendTabToSelfSyncTest : public SyncTest { … };
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest,
DownloadWhenSyncEnabled) { … }
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest, IsActive) { … }
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest,
HasValidTargetDevice) { … }
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest,
ShouldDisplayEntryPoint) { … }
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest,
DeleteSharedEntryWithHistory) { … }
#if !BUILDFLAG(IS_CHROMEOS)
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest,
ShouldCleanupOnSignout) { … }
#endif
IN_PROC_BROWSER_TEST_F(SingleClientSendTabToSelfSyncTest,
ShouldNotUploadInSyncPausedState) { … }
}