Searched refs:Prefs (Results 1 – 6 of 6) sorted by relevance
137 bool Prefs::Init(const base::FilePath& prefs_dir) { in Init()141 bool Prefs::FileStorage::Init(const base::FilePath& prefs_dir) { in Init()148 bool Prefs::FileStorage::GetKey(const string& key, string* value) const { in GetKey()157 bool Prefs::FileStorage::GetSubKeys(const string& ns, in GetSubKeys()175 bool Prefs::FileStorage::SetKey(const string& key, const string& value) { in SetKey()188 bool Prefs::FileStorage::KeyExists(const string& key) const { in KeyExists()194 bool Prefs::FileStorage::DeleteKey(const string& key) { in DeleteKey()201 bool Prefs::FileStorage::GetFileNameForKey(const string& key, in GetFileNameForKey()
100 class Prefs : public PrefsBase {102 Prefs() : PrefsBase(&file_storage_) {} in Prefs() function145 DISALLOW_COPY_AND_ASSIGN(Prefs);
143 Prefs prefs_;146 TEST(Prefs, Init) { in TEST() argument147 Prefs prefs; in TEST()
53 Prefs* prefs = new Prefs(); in Initialize()
104 Prefs* prefs; in Initialize()105 prefs_.reset(prefs = new Prefs()); in Initialize()118 powerwash_safe_prefs_.reset(prefs = new Prefs()); in Initialize()
45 Prefs prefs_;