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