/external/chromium/chrome/browser/prefs/ |
D | pref_set_observer_unittest.cc | 18 pref_service_.reset(new TestingPrefService); in SetUp() 19 pref_service_->RegisterStringPref(prefs::kHomePage, "http://google.com"); in SetUp() 20 pref_service_->RegisterBooleanPref(prefs::kHomePageIsNewTabPage, false); in SetUp() 21 pref_service_->RegisterStringPref(prefs::kApplicationLocale, ""); in SetUp() 26 new PrefSetObserver(pref_service_.get(), observer); in CreatePrefSetObserver() 32 scoped_ptr<TestingPrefService> pref_service_; member in PrefSetObserverTest 45 pref_service_->SetManagedPref(prefs::kHomePage, in TEST_F() 48 pref_service_->SetManagedPref(prefs::kHomePageIsNewTabPage, in TEST_F() 51 pref_service_->RemoveManagedPref(prefs::kHomePage); in TEST_F() 53 pref_service_->RemoveManagedPref(prefs::kHomePageIsNewTabPage); in TEST_F() [all …]
|
D | session_startup_pref_unittest.cc | 15 pref_service_.reset(new TestingPrefService); in SetUp() 16 SessionStartupPref::RegisterUserPrefs(pref_service_.get()); in SetUp() 19 scoped_ptr<TestingPrefService> pref_service_; member in SessionStartupPrefTest 26 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, url_pref_list); in TEST_F() 29 SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F() 38 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, url_pref_list1); in TEST_F() 44 pref_service_->SetManagedPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 48 SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F() 54 SessionStartupPref::SetStartupPref(pref_service_.get(), override_test); in TEST_F() 56 result = SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F()
|
D | pref_notifier_impl_unittest.cc | 64 pref_service_.RegisterBooleanPref(kChangedPref, true); in SetUp() 65 pref_service_.RegisterBooleanPref(kUnchangedPref, true); in SetUp() 68 TestingPrefService pref_service_; member in __anon8b1064e90111::PrefNotifierTest 75 MockPrefNotifier notifier(&pref_service_); in TEST_F() 81 MockPrefNotifier notifier(&pref_service_); in TEST_F() 85 Source<PrefService>(&pref_service_)); in TEST_F() 89 Source<PrefService>(&pref_service_), in TEST_F() 98 MockPrefNotifier notifier(&pref_service_); in TEST_F() 159 PrefNotifierImpl notifier(&pref_service_); in TEST_F() 163 obs1_.Expect(&pref_service_, kChangedPref, &value_true); in TEST_F() [all …]
|
D | pref_notifier_impl.cc | 13 : pref_service_(service) { in PrefNotifierImpl() 82 Source<PrefService>(pref_service_), in OnInitializationCompleted() 90 if (!pref_service_->FindPreference(path.c_str())) in FireObservers() 102 Source<PrefService>(pref_service_), in FireObservers()
|
D | pref_set_observer.cc | 12 : pref_service_(pref_service), in PrefSetObserver() 20 if (!prefs_.count(pref) && pref_service_->FindPreference(pref.c_str())) { in AddPref() 38 pref_service_->FindPreference(i->c_str()); in IsManaged()
|
D | pref_notifier_impl.h | 51 PrefService* pref_service_; variable
|
D | pref_set_observer.h | 54 PrefService* pref_service_; variable
|
D | pref_service.h | 103 return pref_service_->pref_value_store_.get(); in pref_value_store() 111 const PrefService* pref_service_; variable
|
D | pref_service.cc | 654 pref_service_(service) { in Preference() 664 DCHECK(pref_service_->FindPreference(name_.c_str())) << in GetValue()
|
/external/chromium/chrome/browser/sync/glue/ |
D | preference_model_associator_unittest.cc | 18 pref_service_ = profile_.GetPrefs(); in SetUp() 41 pref_service_->FindPreference(pref_name.c_str()); in SetPrefToEmpty() 50 pref_service_->Set(pref_name.c_str(), *empty_value); in SetPrefToEmpty() 54 PrefService* pref_service_; member in AbstractPreferenceMergeTest 79 pref_service_->SetString(prefs::kHomePage, local_url0_); in TEST_F() 81 pref_service_->FindPreference(prefs::kHomePage); in TEST_F() 91 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F() 100 ListPrefUpdate update(pref_service_, prefs::kURLsToRestoreOnStartup); in TEST_F() 106 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F() 110 pref_service_->GetList(prefs::kURLsToRestoreOnStartup); in TEST_F() [all …]
|
D | preference_change_processor.cc | 29 pref_service_(NULL), in PreferenceChangeProcessor() 47 DCHECK_EQ(pref_service_, Source<PrefService>(source).ptr()); in Observe() 56 pref_service_->FindPreference((*name).c_str()); in Observe() 154 pref_service_->FindPreference(pref_name); in ApplyChangesFromSyncModel() 161 pref_service_->ClearPref(pref_name); in ApplyChangesFromSyncModel() 163 pref_service_->Set(pref_name, *value); in ApplyChangesFromSyncModel() 169 pref_service_->FindPreference(name.c_str()); in ApplyChangesFromSyncModel() 198 pref_service_ = profile->GetPrefs(); in StartImpl() 199 registrar_.Init(pref_service_); in StartImpl() 206 pref_service_ = NULL; in StopImpl() [all …]
|
D | preference_change_processor.h | 56 PrefService* pref_service_; variable
|
/external/chromium/chrome/browser/extensions/ |
D | test_extension_prefs.cc | 51 TestExtensionPrefs::TestExtensionPrefs() : pref_service_(NULL) { in TestExtensionPrefs() 66 if (pref_service_.get()) { in RecreateExtensionPrefs() 71 pref_service_->SavePersistentPrefs(); in RecreateExtensionPrefs() 89 pref_service_.reset(builder.Create()); in RecreateExtensionPrefs() 90 ExtensionPrefs::RegisterUserPrefs(pref_service_.get()); in RecreateExtensionPrefs() 92 prefs_.reset(new MockExtensionPrefs(pref_service_.get(), in RecreateExtensionPrefs() 129 return pref_service_->CreateIncognitoPrefService( in CreateIncognitoPrefService()
|
D | test_extension_prefs.h | 29 PrefService* pref_service() { return pref_service_.get(); } in pref_service() 55 scoped_ptr<PrefService> pref_service_; variable
|
/external/chromium/chrome/browser/net/ |
D | pref_proxy_config_service_unittest.cc | 111 pref_service_.reset(new TestingPrefService()); in SetUp() 112 Init(pref_service_.get()); in SetUp() 115 scoped_ptr<TestingPrefService> pref_service_; member in __anonf74f83e60111::PrefProxyConfigServiceTest 126 pref_service_->SetManagedPref( in TEST_F() 141 pref_service_->SetManagedPref(prefs::kProxy, in TEST_F() 178 pref_service_->SetManagedPref( in TEST_F() 196 pref_service_->RemoveManagedPref(prefs::kProxy); in TEST_F() 230 pref_service_->SetRecommendedPref( in TEST_F() 243 pref_service_->SetManagedPref( in TEST_F() 256 pref_service_->RemoveManagedPref(prefs::kProxy); in TEST_F() [all …]
|
D | pref_proxy_config_service.cc | 18 : pref_service_(pref_service) { in PrefProxyConfigTracker() 21 PrefSetObserver::CreateProxyPrefSetObserver(pref_service_, this)); in PrefProxyConfigTracker() 25 DCHECK(pref_service_ == NULL); in ~PrefProxyConfigTracker() 40 pref_service_ = NULL; in DetachFromPrefService() 60 Source<PrefService>(source).ptr() == pref_service_) { in Observe() 94 pref_service_->FindPreference(prefs::kProxy); in ReadPrefConfig() 95 const DictionaryValue* dict = pref_service_->GetDictionary(prefs::kProxy); in ReadPrefConfig()
|
D | pref_proxy_config_service.h | 99 PrefService* pref_service_; variable
|
/external/chromium/chrome/browser/ui/webui/ |
D | shown_sections_handler.cc | 61 : pref_service_(pref_service) { in ShownSectionsHandler() 79 int sections = pref_service_->GetInteger(prefs::kNTPShownSections); in Observe() 88 int sections = GetShownSections(pref_service_); in HandleGetShownSections() 97 int old_mode = pref_service_->GetInteger(prefs::kNTPShownSections); in HandleSetShownSections() 101 pref_service_->SetInteger(prefs::kNTPShownSections, mode); in HandleSetShownSections()
|
D | shown_sections_handler.h | 73 PrefService* pref_service_;
|
/external/chromium/chrome/browser/chromeos/status/ |
D | input_method_menu.cc | 133 pref_service_(pref_service), in InputMethodMenu() 140 if (pref_service_ && (screen_mode_ == StatusAreaHost::kBrowserMode)) { in InputMethodMenu() 388 if (pref_service_) { // make sure we're not in unit tests. in PreferenceUpdateNeeded() 392 pref_service_->ScheduleSavePersistentPrefs(); in PreferenceUpdateNeeded() 430 if (pref_service_ && (screen_mode_ == StatusAreaHost::kBrowserMode)) { in FirstObserverIsAdded()
|
D | input_method_menu.h | 169 PrefService* pref_service_; variable
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | extension_action_context_menu.mm | 74 : menu_(menu), pref_service_(service) { 75 registrar_.Init(pref_service_); 91 PrefService* pref_service_;
|