#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/sync/test/integration/bookmarks_helper.h"
#include "chrome/browser/sync/test/integration/encryption_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/sync/test/integration/updated_progress_marker_checker.h"
#include "components/sync/test/nigori_test_utils.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_launcher.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/constants/ash_features.h"
#endif
namespace {
static const int kEncryptingClientId = …;
static const int kDecryptingClientId = …;
AddURL;
AllModelsMatch;
BookmarksMatchChecker;
class TwoClientCustomPassphraseSyncTest : public SyncTest { … };
IN_PROC_BROWSER_TEST_F(TwoClientCustomPassphraseSyncTest,
DecryptionFailsWhenIncorrectPassphraseProvided) { … }
IN_PROC_BROWSER_TEST_F(TwoClientCustomPassphraseSyncTest, ClientsCanSyncData) { … }
IN_PROC_BROWSER_TEST_F(TwoClientCustomPassphraseSyncTest,
SetPassphraseAndThenSetupSync) { … }
}