Searched refs:pref_store_ (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/chrome/browser/prefs/ |
D | leveldb_pref_store_unittest.cc | 48 pref_store_ = new LevelDBPrefStore( in Open() 50 EXPECT_EQ(LevelDBPrefStore::PREF_READ_ERROR_NONE, pref_store_->ReadPrefs()); in Open() 54 pref_store_ = NULL; in Close() 70 scoped_refptr<LevelDBPrefStore> pref_store_; member in LevelDBPrefStoreTest 76 pref_store_->SetValue(key, new base::FundamentalValue(5)); in TEST_F() 79 EXPECT_TRUE(pref_store_->GetValue(key, &actual_value)); in TEST_F() 86 pref_store_->SetValue(key, new base::FundamentalValue(5)); in TEST_F() 91 EXPECT_TRUE(pref_store_->GetValue(key, &actual_value)); in TEST_F() 115 pref_store_->AddObserver(&mock_observer); in TEST_F() 118 pref_store_->SetValueSilently(key, new base::FundamentalValue(30)); in TEST_F() [all …]
|
D | profile_pref_store_manager_unittest.cc | 152 pref_service_factory.set_user_prefs(pref_store_); in VerifyResetRecorded() 166 pref_service_factory.set_user_prefs(pref_store_); in ClearResetRecorded() 189 if (pref_store_.get()) { in DestroyPrefStore() 193 pref_store_->CommitPendingWrite(); in DestroyPrefStore() 196 pref_store_->RemoveObserver(®istry_verifier_); in DestroyPrefStore() 197 pref_store_ = NULL; in DestroyPrefStore() 227 pref_store_ = manager_->CreateProfilePrefStore( in LoadExistingPrefs() 232 pref_store_->AddObserver(®istry_verifier_); in LoadExistingPrefs() 233 pref_store_->ReadPrefs(); in LoadExistingPrefs() 256 if (!pref_store_->GetValue(name, &value)) { in ExpectStringValueEquals() [all …]
|
D | browser_ui_prefs_migrator.cc | 15 : pref_store_(pref_store) { in BrowserUIPrefsMigrator() 23 pref_store_->RemoveObserver(this); in OnInitializationCompleted() 29 if (!pref_store_->GetMutableValue("browser", &browser_value)) in OnInitializationCompleted() 70 pref_store_->SetValue(prefs::kAppWindowPlacement, in OnInitializationCompleted()
|
D | browser_ui_prefs_migrator.h | 35 WriteablePrefStore* pref_store_;
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_pref_store_unittest.cc | 41 scoped_refptr<SupervisedUserPrefStore> pref_store_; member in __anona7b96b8c0111::SupervisedUserPrefStoreFixture 48 : pref_store_(new SupervisedUserPrefStore(settings_service)), in SupervisedUserPrefStoreFixture() 49 initialization_completed_(pref_store_->IsInitializationComplete()) { in SupervisedUserPrefStoreFixture() 50 pref_store_->AddObserver(this); in SupervisedUserPrefStoreFixture() 54 pref_store_->RemoveObserver(this); in ~SupervisedUserPrefStoreFixture() 60 ASSERT_TRUE(pref_store_->GetValue(key, &value)); in OnPrefValueChanged() 67 EXPECT_TRUE(pref_store_->IsInitializationComplete()); in OnInitializationCompleted() 80 scoped_refptr<TestingPrefStore> pref_store_; member in SupervisedUserPrefStoreTest 84 pref_store_ = new TestingPrefStore(); in SetUp() 85 service_.Init(pref_store_); in SetUp() [all …]
|
/external/chromium_org/base/prefs/ |
D | pref_value_store.cc | 17 if (pref_store_.get()) { in ~PrefStoreKeeper() 18 pref_store_->RemoveObserver(this); in ~PrefStoreKeeper() 19 pref_store_ = NULL; in ~PrefStoreKeeper() 28 if (pref_store_.get()) { in Initialize() 29 pref_store_->RemoveObserver(this); in Initialize() 30 DCHECK(!pref_store_->HasObservers()); in Initialize() 34 pref_store_ = pref_store; in Initialize() 35 if (pref_store_.get()) in Initialize() 36 pref_store_->AddObserver(this); in Initialize()
|
D | default_pref_store_unittest.cc | 27 DefaultPrefStore* pref_store_; member in __anon09c0d90b0111::MockPrefStoreObserver 35 : pref_store_(pref_store), change_count_(0) { in MockPrefStoreObserver() 36 pref_store_->AddObserver(this); in MockPrefStoreObserver() 40 pref_store_->RemoveObserver(this); in ~MockPrefStoreObserver()
|
D | pref_value_store.h | 159 PrefStore* store() { return pref_store_.get(); } in store() 160 const PrefStore* store() const { return pref_store_.get(); } in store() 171 scoped_refptr<PrefStore> pref_store_; variable
|