Searched refs:PrefsBase (Results 1 – 2 of 2) sorted by relevance
33 class PrefsBase : public PrefsInterface {65 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} in PrefsBase() function93 DISALLOW_COPY_AND_ASSIGN(PrefsBase);100 class Prefs : public PrefsBase {102 Prefs() : PrefsBase(&file_storage_) {} in Prefs()114 class FileStorage : public PrefsBase::StorageInterface {151 class MemoryPrefs : public PrefsBase {153 MemoryPrefs() : PrefsBase(&mem_storage_) {} in MemoryPrefs()156 class MemoryStorage : public PrefsBase::StorageInterface {
52 bool PrefsBase::GetString(const string& key, string* value) const { in GetString()56 bool PrefsBase::SetString(const string& key, const string& value) { in SetString()67 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64()76 bool PrefsBase::SetInt64(const string& key, const int64_t value) { in SetInt64()80 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean()96 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean()100 bool PrefsBase::Exists(const string& key) const { in Exists()104 bool PrefsBase::Delete(const string& key) { in Delete()115 bool PrefsBase::GetSubKeys(const string& ns, vector<string>* keys) const { in GetSubKeys()119 void PrefsBase::AddObserver(const string& key, ObserverInterface* observer) { in AddObserver()[all …]