#include "components/prefs/pref_notifier_impl.h"
#include "base/debug/alias.h"
#include "base/debug/dump_without_crashing.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/observer_list.h"
#include "base/strings/strcat.h"
#include "components/prefs/pref_service.h"
PrefNotifierImpl::PrefNotifierImpl() : … { … }
PrefNotifierImpl::PrefNotifierImpl(PrefService* service)
: … { … }
PrefNotifierImpl::~PrefNotifierImpl() { … }
void PrefNotifierImpl::AddPrefObserver(std::string_view path,
PrefObserver* obs) { … }
void PrefNotifierImpl::RemovePrefObserver(std::string_view path,
PrefObserver* obs) { … }
void PrefNotifierImpl::AddPrefObserverAllPrefs(PrefObserver* observer) { … }
void PrefNotifierImpl::RemovePrefObserverAllPrefs(PrefObserver* observer) { … }
void PrefNotifierImpl::AddInitObserver(base::OnceCallback<void(bool)> obs) { … }
void PrefNotifierImpl::OnPreferenceChanged(std::string_view path) { … }
void PrefNotifierImpl::OnInitializationCompleted(bool succeeded) { … }
void PrefNotifierImpl::FireObservers(std::string_view path) { … }
void PrefNotifierImpl::SetPrefService(PrefService* pref_service) { … }