Searched refs:PrefsBase (Results 1 – 2 of 2) sorted by relevance
34 class PrefsBase : public PrefsInterface {66 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} in PrefsBase() function96 DISALLOW_COPY_AND_ASSIGN(PrefsBase);103 class Prefs : public PrefsBase {105 Prefs() : PrefsBase(&file_storage_) {} in Prefs()117 class FileStorage : public PrefsBase::StorageInterface {154 class MemoryPrefs : public PrefsBase {156 MemoryPrefs() : PrefsBase(&mem_storage_) {} in MemoryPrefs()159 class MemoryStorage : public PrefsBase::StorageInterface {
54 bool PrefsBase::GetString(const string& key, string* value) const { in GetString()58 bool PrefsBase::SetString(const string& key, std::string_view value) { in SetString()69 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64()78 bool PrefsBase::SetInt64(const string& key, const int64_t value) { in SetInt64()82 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean()98 bool PrefsBase::SetBoolean(const string& key, const bool value) { in SetBoolean()102 bool PrefsBase::Exists(const string& key) const { in Exists()106 bool PrefsBase::Delete(const string& key) { in Delete()117 bool PrefsBase::Delete(const string& pref_key, const vector<string>& nss) { in Delete()135 bool PrefsBase::GetSubKeys(const string& ns, vector<string>* keys) const { in GetSubKeys()[all …]