Searched refs:PrefsBase (Results 1 – 2 of 2) sorted by relevance
33 class PrefsBase : public PrefsInterface {60 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} in PrefsBase() function85 DISALLOW_COPY_AND_ASSIGN(PrefsBase);92 class Prefs : public PrefsBase {94 Prefs() : PrefsBase(&file_storage_) {} in Prefs()106 class FileStorage : public PrefsBase::StorageInterface {141 class MemoryPrefs : public PrefsBase {143 MemoryPrefs() : PrefsBase(&mem_storage_) {} in MemoryPrefs()146 class MemoryStorage : public PrefsBase::StorageInterface {
32 bool PrefsBase::GetString(const string& key, string* value) const { in GetString()36 bool PrefsBase::SetString(const string& key, const string& value) { in SetString()47 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64()56 bool PrefsBase::SetInt64(const string& key, const int64_t value) { in SetInt64()60 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean()76 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean()80 bool PrefsBase::Exists(const string& key) const { in Exists()84 bool PrefsBase::Delete(const string& key) { in Delete()95 void PrefsBase::AddObserver(const string& key, ObserverInterface* observer) { in AddObserver()99 void PrefsBase::RemoveObserver(const string& key, ObserverInterface* observer) { in RemoveObserver()