chromium/components/sync/service/account_pref_utils_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/sync/service/account_pref_utils.h"

#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/signin/public/base/gaia_id_hash.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace syncer {

namespace {

// Note that while the per-Gaia-ID values are scalar, the pref itself is still
// a dictionary.
constexpr char kPrefPathScalar[] =;
constexpr char kPrefPathDict[] =;

TEST(AccountPrefUtils, ShouldGetAndSetScalarPref) {}

TEST(AccountPrefUtils, ShouldKeepGaiaIdsSeparateForScalarPref) {}

TEST(AccountPrefUtils, ShouldGetAndSetDictPrefEntries) {}

TEST(AccountPrefUtils, ShouldKeepGaiaIdsSeparateForDictPref) {}

TEST(AccountPrefUtils, ShouldClearValuesForUnlistedAccounts) {}

}  // namespace

}  // namespace syncer