chromium/components/sync/service/account_pref_utils.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 <string>
#include <utility>

#include "base/containers/contains.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "components/signin/public/base/gaia_id_hash.h"

namespace syncer {

const base::Value* GetAccountKeyedPrefValue(
    const PrefService* pref_service,
    const char* pref_path,
    const signin::GaiaIdHash& gaia_id_hash) {}

void SetAccountKeyedPrefValue(PrefService* pref_service,
                              const char* pref_path,
                              const signin::GaiaIdHash& gaia_id_hash,
                              base::Value value) {}

void ClearAccountKeyedPrefValue(PrefService* pref_service,
                                const char* pref_path,
                                const signin::GaiaIdHash& gaia_id_hash) {}

const base::Value* GetAccountKeyedPrefDictEntry(
    const PrefService* pref_service,
    const char* pref_path,
    const signin::GaiaIdHash& gaia_id_hash,
    const char* key) {}

void SetAccountKeyedPrefDictEntry(PrefService* pref_service,
                                  const char* pref_path,
                                  const signin::GaiaIdHash& gaia_id_hash,
                                  const char* key,
                                  base::Value value) {}

void KeepAccountKeyedPrefValuesOnlyForUsers(
    PrefService* pref_service,
    const char* pref_path,
    const std::vector<signin::GaiaIdHash>& available_gaia_ids) {}

}  // namespace syncer