Home
last modified time | relevance | path

Searched refs:pref_store (Results 1 – 8 of 8) sorted by relevance

/external/cronet/components/prefs/
Djson_pref_store_unittest.cc154 void CommitPendingWrite(JsonPrefStore* pref_store, in CommitPendingWrite() argument
159 pref_store->CommitPendingWrite(); in CommitPendingWrite()
164 TestCommitPendingWriteWithCallback(pref_store, task_environment); in CommitPendingWrite()
169 pref_store->CommitPendingWrite( in CommitPendingWrite()
217 auto pref_store = base::MakeRefCounted<JsonPrefStore>(bogus_input_file); in TEST_P() local
219 pref_store->ReadPrefs()); in TEST_P()
220 EXPECT_FALSE(pref_store->ReadOnly()); in TEST_P()
221 EXPECT_EQ(0u, pref_store->get_writer().previous_data_size()); in TEST_P()
229 auto pref_store = base::MakeRefCounted<JsonPrefStore>(invalid_file); in TEST_P() local
231 pref_store->ReadPrefs()); in TEST_P()
[all …]
Ddefault_pref_store_unittest.cc15 explicit MockPrefStoreObserver(DefaultPrefStore* pref_store);
36 MockPrefStoreObserver::MockPrefStoreObserver(DefaultPrefStore* pref_store) in MockPrefStoreObserver() argument
37 : pref_store_(pref_store), change_count_(0) { in MockPrefStoreObserver()
52 scoped_refptr<DefaultPrefStore> pref_store(new DefaultPrefStore); in TEST() local
53 MockPrefStoreObserver observer(pref_store.get()); in TEST()
57 pref_store->SetDefaultValue(kPrefKey, Value("foo")); in TEST()
61 pref_store->ReplaceDefaultValue(kPrefKey, Value("bar")); in TEST()
65 pref_store->ReplaceDefaultValue(kPrefKey, Value("bar")); in TEST()
Dpref_value_store.cc28 PrefStore* pref_store, in Initialize() argument
36 pref_store_ = pref_store; in Initialize()
203 const PrefStore* pref_store = GetPrefStore(static_cast<PrefStoreType>(i)); in IsInitializationComplete() local
204 if (pref_store && !pref_store->IsInitializationComplete()) in IsInitializationComplete()
296 PrefStore* pref_store) { in InitPrefStore() argument
297 pref_stores_[type].Initialize(this, pref_store, type); in InitPrefStore()
Dtesting_pref_service.h108 const base::Value* GetPref(TestingPrefStore* pref_store,
112 void SetPref(TestingPrefStore* pref_store,
117 void RemovePref(TestingPrefStore* pref_store, const std::string& path);
356 TestingPrefStore* pref_store, in GetPref() argument
359 return pref_store->GetValue(path, &res) ? res : NULL; in GetPref()
364 SetPref(TestingPrefStore* pref_store, in SetPref() argument
367 pref_store->SetValue(path, base::Value::FromUniquePtrValue(std::move(value)), in SetPref()
373 RemovePref(TestingPrefStore* pref_store, const std::string& path) { in RemovePref() argument
374 pref_store->RemoveValue(path, WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS); in RemovePref()
DBUILD.gn48 "pref_store.cc",
49 "pref_store.h",
Dpref_value_store.h180 PrefStore* pref_store,
249 void InitPrefStore(PrefStoreType type, PrefStore* pref_store);
/external/cronet/
DAndroid.bp11722 "components/prefs/pref_store.cc",
11932 "components/prefs/pref_store.cc",
/external/cronet/android/tools/gn2bp/
DAndroid.bp.swp11712 "components/prefs/pref_store.cc",
11922 "components/prefs/pref_store.cc",