Searched refs:Prefs (Results 1 – 5 of 5) sorted by relevance
157 bool Prefs::Init(const base::FilePath& prefs_dir) { in Init()161 bool Prefs::FileStorage::Init(const base::FilePath& prefs_dir) { in Init()168 bool Prefs::FileStorage::GetKey(const string& key, string* value) const { in GetKey()177 bool Prefs::FileStorage::GetSubKeys(const string& ns, in GetSubKeys()195 bool Prefs::FileStorage::SetKey(const string& key, std::string_view value) { in SetKey()208 bool Prefs::FileStorage::KeyExists(const string& key) const { in KeyExists()214 bool Prefs::FileStorage::DeleteKey(const string& key) { in DeleteKey()225 bool Prefs::FileStorage::GetFileNameForKey(const string& key, in GetFileNameForKey()
103 class Prefs : public PrefsBase {105 Prefs() : PrefsBase(&file_storage_) {} in Prefs() function148 DISALLOW_COPY_AND_ASSIGN(Prefs);
160 Prefs prefs_;163 TEST(Prefs, Init) { in TEST() argument164 Prefs prefs; in TEST()
90 Prefs* prefs; in Initialize()91 prefs_.reset(prefs = new Prefs()); in Initialize()104 powerwash_safe_prefs_.reset(prefs = new Prefs()); in Initialize()
54 Prefs* prefs = new Prefs(); in Initialize()