#include "components/prefs/pref_change_registrar.h"
#include <ostream>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "components/prefs/pref_service.h"
PrefChangeRegistrar::PrefChangeRegistrar() : … { … }
PrefChangeRegistrar::~PrefChangeRegistrar() { … }
void PrefChangeRegistrar::Init(PrefService* service) { … }
void PrefChangeRegistrar::Reset() { … }
void PrefChangeRegistrar::Add(std::string_view path,
const base::RepeatingClosure& obs) { … }
void PrefChangeRegistrar::Add(std::string_view path,
const NamedChangeCallback& obs) { … }
void PrefChangeRegistrar::Remove(std::string_view path) { … }
void PrefChangeRegistrar::RemoveAll() { … }
bool PrefChangeRegistrar::IsEmpty() const { … }
bool PrefChangeRegistrar::IsObserved(std::string_view pref) { … }
void PrefChangeRegistrar::OnPreferenceChanged(PrefService* service,
std::string_view pref) { … }
void PrefChangeRegistrar::InvokeUnnamedCallback(
const base::RepeatingClosure& callback,
const std::string& pref_name) { … }
PrefService* PrefChangeRegistrar::prefs() { … }
const PrefService* PrefChangeRegistrar::prefs() const { … }