/external/chromium_org/chrome/browser/prefs/ |
H A D | browser_ui_prefs_migrator.cc | 14 BrowserUIPrefsMigrator::BrowserUIPrefsMigrator(WriteablePrefStore* pref_store) argument 15 : pref_store_(pref_store) {
|
H A D | leveldb_pref_store_unittest.cc | 96 scoped_refptr<LevelDBPrefStore> pref_store = new LevelDBPrefStore( local 99 pref_store->AddObserver(&mock_observer); 101 EXPECT_EQ(PersistentPrefStore::PREF_READ_ERROR_NONE, pref_store->ReadPrefs()); 106 pref_store->SetValue(key, new base::FundamentalValue(5)); 108 pref_store->RemoveObserver(&mock_observer); 194 scoped_refptr<LevelDBPrefStore> pref_store(new LevelDBPrefStore( 197 pref_store->ReadPrefsAsync(delegate); 200 pref_store->AddObserver(&mock_observer); 203 pref_store->RemoveObserver(&mock_observer); 206 EXPECT_TRUE(pref_store [all...] |
H A D | profile_pref_store_manager_unittest.cc | 20 #include "base/prefs/pref_store.h" 177 scoped_refptr<PersistentPrefStore> pref_store = local 183 InitializePrefStore(pref_store.get()); 184 pref_store = NULL; 205 scoped_refptr<PersistentPrefStore> pref_store = local 208 InitializePrefStore(pref_store.get()); 209 pref_store = NULL; 213 void InitializePrefStore(PersistentPrefStore* pref_store) { argument 214 pref_store->AddObserver(®istry_verifier_); 215 PersistentPrefStore::PrefReadError error = pref_store [all...] |
/external/chromium_org/base/prefs/ |
H A D | default_pref_store_unittest.cc | 15 explicit MockPrefStoreObserver(DefaultPrefStore* pref_store); 34 MockPrefStoreObserver::MockPrefStoreObserver(DefaultPrefStore* pref_store) argument 35 : pref_store_(pref_store), change_count_(0) { 50 scoped_refptr<DefaultPrefStore> pref_store(new DefaultPrefStore); 51 MockPrefStoreObserver observer(pref_store.get()); 55 pref_store->SetDefaultValue(kPrefKey, 60 pref_store->ReplaceDefaultValue(kPrefKey, 65 pref_store->ReplaceDefaultValue(kPrefKey,
|
H A D | testing_pref_service.h | 62 // Reads the value of the preference indicated by |path| from |pref_store|. 64 const base::Value* GetPref(TestingPrefStore* pref_store, 67 // Sets the value for |path| in |pref_store|. 68 void SetPref(TestingPrefStore* pref_store, const char* path, 71 // Removes the preference identified by |path| from |pref_store|. 72 void RemovePref(TestingPrefStore* pref_store, const char* path); 179 TestingPrefStore* pref_store, const char* path) const { 181 return pref_store->GetValue(path, &res) ? res : NULL; 187 TestingPrefStore* pref_store, const char* path, base::Value* value) { 188 pref_store 178 GetPref( TestingPrefStore* pref_store, const char* path) const argument 186 SetPref( TestingPrefStore* pref_store, const char* path, base::Value* value) argument 193 RemovePref( TestingPrefStore* pref_store, const char* path) argument [all...] |
H A D | json_pref_store_unittest.cc | 116 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 121 pref_store->ReadPrefs()); 122 EXPECT_FALSE(pref_store->ReadOnly()); 132 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 138 pref_store->ReadPrefs()); 139 EXPECT_FALSE(pref_store->ReadOnly()); 147 scoped_refptr<JsonPrefStore> pref_store = local 152 pref_store->ReadPrefs()); 153 EXPECT_FALSE(pref_store->ReadOnly()); 164 void RunBasicJsonPrefStoreTest(JsonPrefStore* pref_store, argument 235 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 264 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 303 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 337 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 357 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 388 scoped_refptr<JsonPrefStore> pref_store = local 435 scoped_refptr<JsonPrefStore> pref_store = local 501 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 547 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 589 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local 631 scoped_refptr<JsonPrefStore> pref_store = new JsonPrefStore( local [all...] |
H A D | pref_value_store.cc | 26 PrefStore* pref_store, 34 pref_store_ = pref_store; 268 PrefStore* pref_store) { 269 pref_stores_[type].Initialize(this, pref_store, type); 24 Initialize( PrefValueStore* store, PrefStore* pref_store, PrefValueStore::PrefStoreType type) argument 267 InitPrefStore(PrefValueStore::PrefStoreType type, PrefStore* pref_store) argument
|
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_settings_service_unittest.cc | 123 TestingPrefStore* pref_store = new TestingPrefStore; variable 124 settings_service_.Init(pref_store); 128 pref_store->SetInitializationCompleted();
|
/external/chromium_org/chrome/browser/ui/prefs/ |
H A D | prefs_tab_helper.cc | 382 OverlayUserPrefStore* pref_store) { 386 pref_store->RegisterOverlayPref(prefs::kBrowserWindowPlacement); 387 pref_store->RegisterOverlayPref(prefs::kSaveFileDefaultDirectory); 389 pref_store->RegisterOverlayPref(prefs::kProxy); 381 InitIncognitoUserPrefStore( OverlayUserPrefStore* pref_store) argument
|