Home
last modified time | relevance | path

Searched refs:AddPrefObserver (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/base/prefs/
Dpref_notifier_impl_unittest.cc120 notifier.AddPrefObserver(pref_name, &obs1_); in TEST_F()
130 notifier.AddPrefObserver(pref_name, &obs1_); in TEST_F()
138 notifier.AddPrefObserver(pref_name2, &obs1_); in TEST_F()
145 notifier.AddPrefObserver(pref_name, &obs2_); in TEST_F()
180 notifier.AddPrefObserver(kChangedPref, &obs1_); in TEST_F()
181 notifier.AddPrefObserver(kUnchangedPref, &obs1_); in TEST_F()
189 notifier.AddPrefObserver(kChangedPref, &obs2_); in TEST_F()
190 notifier.AddPrefObserver(kUnchangedPref, &obs2_); in TEST_F()
Dpref_change_registrar_unittest.cc30 MOCK_METHOD2(AddPrefObserver,
66 AddPrefObserver(Eq(std::string("test.pref.1")), &registrar)); in TEST_F()
68 AddPrefObserver(Eq(std::string("test.pref.2")), &registrar)); in TEST_F()
94 AddPrefObserver(Eq(std::string("test.pref.1")), &registrar)); in TEST_F()
109 AddPrefObserver(Eq(std::string("test.pref.1")), &registrar)); in TEST_F()
111 AddPrefObserver(Eq(std::string("test.pref.2")), &registrar)); in TEST_F()
Dpref_notifier_impl.h32 void AddPrefObserver(const char* path, PrefObserver* observer); in NON_EXPORTED_BASE()
Dpref_change_registrar.cc39 service_->AddPrefObserver(path, this); in Add()
Dpref_notifier_impl.cc41 void PrefNotifierImpl::AddPrefObserver(const char* path, in AddPrefObserver() function in PrefNotifierImpl
Dpref_service.h319 virtual void AddPrefObserver(const char* path, PrefObserver* obs);
Dpref_member.cc47 prefs_->AddPrefObserver(pref_name, this); in Init()
Dpref_service.cc309 void PrefService::AddPrefObserver(const char* path, PrefObserver* obs) { in AddPrefObserver() function in PrefService
310 pref_notifier_->AddPrefObserver(path, obs); in AddPrefObserver()
/external/chromium_org/chrome/browser/prefs/
Dpref_metrics_service.cc151 AddPrefObserver(prefs::kShowHomeButton, "ShowHomeButton", booleanHandler); in RegisterSyncedPrefObservers()
152 AddPrefObserver(prefs::kHomePageIsNewTabPage, "HomePageIsNewTabPage", in RegisterSyncedPrefObservers()
155 AddPrefObserver(prefs::kRestoreOnStartup, "StartupPageLoadSettings", in RegisterSyncedPrefObservers()
161 void PrefMetricsService::AddPrefObserver( in AddPrefObserver() function in PrefMetricsService
Dpref_metrics_service.h64 void AddPrefObserver(const std::string& path,