Home | History | Annotate | Download | only in prefs

Lines Matching defs:PrefService

80 void NotifyReadError(PrefService* pref, int message_id) {
87 PrefService* PrefService::CreatePrefService(const FilePath& pref_filename,
94 PrefService* PrefService::CreatePrefServiceAsync(
98 PrefService::Delegate* delegate) {
108 UMA_HISTOGRAM_ENUMERATION("PrefService.FileSystemType",
130 return new PrefService(managed_platform, managed_cloud, extension_prefs,
135 PrefService* PrefService::CreateIncognitoPrefService(
137 return new PrefService(*this, incognito_extension_prefs);
140 PrefService::PrefService(PrefStore* managed_platform_prefs,
148 PrefService::Delegate* delegate)
166 PrefService::PrefService(const PrefService& original,
186 PrefService::~PrefService() {
197 void PrefService::OnPrefsRead(PersistentPrefStore::PrefReadError error,
223 UMA_HISTOGRAM_ENUMERATION("PrefService.ReadError", error, 20);
230 void PrefService::InitFromStorage() {
241 bool PrefService::ReloadPersistentPrefs() {
246 bool PrefService::SavePersistentPrefs() {
251 void PrefService::ScheduleSavePersistentPrefs() {
256 void PrefService::CommitPendingWrite() {
261 void PrefService::RegisterBooleanPref(const char* path,
266 void PrefService::RegisterIntegerPref(const char* path, int default_value) {
270 void PrefService::RegisterDoublePref(const char* path, double default_value) {
274 void PrefService::RegisterStringPref(const char* path,
279 void PrefService::RegisterFilePathPref(const char* path,
284 void PrefService::RegisterListPref(const char* path) {
288 void PrefService::RegisterListPref(const char* path, ListValue* default_value) {
292 void PrefService::RegisterDictionaryPref(const char* path) {
296 void PrefService::RegisterDictionaryPref(const char* path,
301 void PrefService::RegisterLocalizedBooleanPref(const char* path,
308 void PrefService::RegisterLocalizedIntegerPref(const char* path,
315 void PrefService::RegisterLocalizedDoublePref(const char* path,
322 void PrefService::RegisterLocalizedStringPref(const char* path,
329 bool PrefService::GetBoolean(const char* path) const {
344 int PrefService::GetInteger(const char* path) const {
359 double PrefService::GetDouble(const char* path) const {
374 std::string PrefService::GetString(const char* path) const {
389 FilePath PrefService::GetFilePath(const char* path) const {
404 bool PrefService::HasPrefPath(const char* path) const {
409 DictionaryValue* PrefService::GetPreferenceValues() const {
423 const PrefService::Preference* PrefService::FindPreference(
438 bool PrefService::ReadOnly() const {
442 bool PrefService::IsManagedPreference(const char* pref_name) const {
447 const DictionaryValue* PrefService::GetDictionary(const char* path) const {
463 const ListValue* PrefService::GetList(const char* path) const {
479 void PrefService::AddPrefObserver(const char* path,
484 void PrefService::RemovePrefObserver(const char* path,
489 void PrefService::RegisterPreference(const char* path, Value* default_value) {
508 void PrefService::ClearPref(const char* path) {
519 void PrefService::Set(const char* path, const Value& value) {
537 void PrefService::SetBoolean(const char* path, bool value) {
541 void PrefService::SetInteger(const char* path, int value) {
545 void PrefService::SetDouble(const char* path, double value) {
549 void PrefService::SetString(const char* path, const std::string& value) {
553 void PrefService::SetFilePath(const char* path, const FilePath& value) {
557 void PrefService::SetList(const char* path, ListValue* value) {
561 void PrefService::SetInt64(const char* path, int64 value) {
565 int64 PrefService::GetInt64(const char* path) const {
582 void PrefService::RegisterInt64Pref(const char* path, int64 default_value) {
587 Value* PrefService::GetMutableUserPref(const char* path,
622 void PrefService::ReportUserPrefChanged(const std::string& key) {
626 void PrefService::SetUserPrefValue(const char* path, Value* new_value) {
647 // PrefService::Preference
649 PrefService::Preference::Preference(const PrefService* service,
659 Value::ValueType PrefService::Preference::GetType() const {
663 const Value* PrefService::Preference::GetValue() const {
678 bool PrefService::Preference::IsManaged() const {
682 bool PrefService::Preference::HasExtensionSetting() const {
686 bool PrefService::Preference::HasUserSetting() const {
690 bool PrefService::Preference::IsExtensionControlled() const {
694 bool PrefService::Preference::IsUserControlled() const {
698 bool PrefService::Preference::IsDefaultValue() const {
702 bool PrefService::Preference::IsUserModifiable() const {
706 bool PrefService::Preference::IsExtensionModifiable() const {