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