#include "components/supervised_user/core/browser/supervised_user_pref_store.h"
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_functions.h"
#include "base/values.h"
#include "build/build_config.h"
#include "components/feed/core/shared_prefs/pref_names.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/prefs/pref_value_map.h"
#include "components/safe_search_api/safe_search_util.h"
#include "components/signin/public/base/signin_pref_names.h"
#include "components/signin/public/base/signin_switches.h"
#include "components/supervised_user/core/browser/supervised_user_settings_service.h"
#include "components/supervised_user/core/browser/supervised_user_url_filter.h"
#include "components/supervised_user/core/browser/supervised_user_utils.h"
#include "components/supervised_user/core/common/features.h"
#include "components/supervised_user/core/common/pref_names.h"
#include "components/supervised_user/core/common/supervised_user_constants.h"
#include "components/sync/base/user_selectable_type.h"
#include "components/sync/service/sync_prefs.h"
#include "extensions/buildflags/buildflags.h"
namespace {
struct SupervisedUserSettingsPrefMappingEntry { … };
SupervisedUserSettingsPrefMappingEntry kSupervisedUserSettingsPrefMapping[] = …;
}
SupervisedUserPrefStore::SupervisedUserPrefStore() = default;
SupervisedUserPrefStore::SupervisedUserPrefStore(
supervised_user::SupervisedUserSettingsService*
supervised_user_settings_service) { … }
void SupervisedUserPrefStore::Init(
supervised_user::SupervisedUserSettingsService*
supervised_user_settings_service) { … }
bool SupervisedUserPrefStore::GetValue(std::string_view key,
const base::Value** value) const { … }
base::Value::Dict SupervisedUserPrefStore::GetValues() const { … }
void SupervisedUserPrefStore::AddObserver(PrefStore::Observer* observer) { … }
void SupervisedUserPrefStore::RemoveObserver(PrefStore::Observer* observer) { … }
bool SupervisedUserPrefStore::HasObservers() const { … }
bool SupervisedUserPrefStore::IsInitializationComplete() const { … }
SupervisedUserPrefStore::~SupervisedUserPrefStore() { … }
void SupervisedUserPrefStore::OnNewSettingsAvailable(
const base::Value::Dict& settings) { … }
void SupervisedUserPrefStore::OnSettingsServiceShutdown() { … }