Searched refs:PrefsBase (Results 1 – 2 of 2) sorted by relevance
35 class PrefsBase : public PrefsInterface {78 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} in PrefsBase() function111 DISALLOW_COPY_AND_ASSIGN(PrefsBase);118 class Prefs : public PrefsBase {120 Prefs() : PrefsBase(&file_storage_) {} in Prefs()132 class FileStorage : public PrefsBase::StorageInterface {175 class MemoryPrefs : public PrefsBase {177 MemoryPrefs() : PrefsBase(&mem_storage_) {} in MemoryPrefs()180 class MemoryStorage : public PrefsBase::StorageInterface {
57 bool PrefsBase::GetString(const std::string_view key, string* value) const { in GetString()61 bool PrefsBase::SetString(std::string_view key, std::string_view value) { in SetString()72 bool PrefsBase::GetInt64(const std::string_view key, int64_t* value) const { in GetInt64()90 bool PrefsBase::SetInt64(std::string_view key, const int64_t value) { in SetInt64()94 bool PrefsBase::GetBoolean(std::string_view key, bool* value) const { in GetBoolean()110 bool PrefsBase::SetBoolean(std::string_view key, const bool value) { in SetBoolean()114 bool PrefsBase::Exists(std::string_view key) const { in Exists()118 bool PrefsBase::Delete(std::string_view key) { in Delete()129 bool PrefsBase::Delete(std::string_view pref_key, const vector<string>& nss) { in Delete()147 bool PrefsBase::GetSubKeys(std::string_view ns, vector<string>* keys) const { in GetSubKeys()[all …]