Home
last modified time | relevance | path

Searched refs:registrar_ (Results 1 – 25 of 586) sorted by relevance

12345678910>>...24

/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_registrar_unittest.cc49 registrar_->ActivateDataType(AUTOFILL, in TestNonUIDataTypeActivationAsync()
55 ExpectRoutingInfo(registrar_.get(), expected_routing_info); in TestNonUIDataTypeActivationAsync()
56 ExpectHasProcessorsForTypes(*registrar_, ModelTypeSet(AUTOFILL)); in TestNonUIDataTypeActivationAsync()
57 TriggerChanges(registrar_.get(), AUTOFILL); in TestNonUIDataTypeActivationAsync()
72 registrar_.reset(new SyncBackendRegistrar("test", &profile_, in SetUp()
74 sync_thread_ = registrar_->sync_thread(); in SetUp()
78 registrar_->RequestWorkerStopOnUIThread(); in TearDown()
83 base::Unretained(registrar_.release()))); in TearDown()
100 registrar_->IsTypeActivatedForTest(model_type)); in ExpectHasProcessorsForTypes()
106 scoped_ptr<SyncBackendRegistrar> registrar_; member in browser_sync::__anonf04fecb30111::SyncBackendRegistrarTest
[all …]
Dsync_backend_host_impl.cc95 DCHECK(!registrar_.get()); in ~SyncBackendHostImpl()
110 registrar_.reset(new browser_sync::SyncBackendRegistrar(name_, in Initialize()
113 CHECK(registrar_->sync_thread()); in Initialize()
120 registrar_->GetModelSafeRoutingInfo(&routing_info); in Initialize()
121 registrar_->GetWorkers(&workers); in Initialize()
139 registrar_->sync_thread()->message_loop(), in Initialize()
140 registrar_.get(), in Initialize()
165 DCHECK(registrar_->sync_thread()->IsRunning()); in UpdateCredentials()
166 registrar_->sync_thread()->message_loop()->PostTask(FROM_HERE, in UpdateCredentials()
176 registrar_->GetModelSafeRoutingInfo(&routing_info); in StartSyncingWithServer()
[all …]
Dbookmark_data_type_controller.cc57 registrar_.RemoveAll(); in Observe()
74 registrar_.Add(this, chrome::NOTIFICATION_HISTORY_LOADED, in StartModels()
83 registrar_.RemoveAll(); in CleanUpState()
110 registrar_.RemoveAll(); in BookmarkModelLoaded()
/external/chromium_org/components/invalidation/
Dfake_invalidator.cc16 return registrar_.IsHandlerRegisteredForTest(handler); in IsHandlerRegistered()
21 return registrar_.GetRegisteredIds(handler); in GetRegisteredIds()
33 registrar_.UpdateInvalidatorState(state); in EmitOnInvalidatorStateChange()
38 registrar_.DispatchInvalidationsToHandlers(invalidation_map); in EmitOnIncomingInvalidation()
42 registrar_.RegisterHandler(handler); in RegisterHandler()
47 registrar_.UpdateRegisteredIds(handler, ids); in UpdateRegisteredIds()
51 registrar_.UnregisterHandler(handler); in UnregisterHandler()
55 return registrar_.GetInvalidatorState(); in GetInvalidatorState()
Dinvalidation_notifier.cc46 registrar_.RegisterHandler(handler); in RegisterHandler()
52 registrar_.UpdateRegisteredIds(handler, ids); in UpdateRegisteredIds()
53 invalidation_listener_.UpdateRegisteredIds(registrar_.GetAllRegisteredIds()); in UpdateRegisteredIds()
58 registrar_.UnregisterHandler(handler); in UnregisterHandler()
63 return registrar_.GetInvalidatorState(); in GetInvalidatorState()
92 registrar_.DispatchInvalidationsToHandlers(invalidation_map); in OnInvalidate()
97 registrar_.UpdateInvalidatorState(state); in OnInvalidatorStateChange()
Dinvalidator_registrar_unittest.cc28 return &registrar_; in GetRegistrar()
33 registrar_.RegisterHandler(handler); in RegisterHandler()
38 registrar_.UpdateRegisteredIds(handler, ids); in UpdateRegisteredIds()
42 registrar_.UnregisterHandler(handler); in UnregisterHandler()
46 return registrar_.GetInvalidatorState(); in GetInvalidatorState()
60 InvalidatorRegistrar registrar_; member in syncer::__anon4f9ea62a0111::RegistrarInvalidator
Dp2p_invalidator.cc159 registrar_.RegisterHandler(handler); in RegisterHandler()
166 const ObjectIdSet& old_ids = registrar_.GetRegisteredIds(handler); in UpdateRegisteredIds()
171 registrar_.UpdateRegisteredIds(handler, ids); in UpdateRegisteredIds()
181 registrar_.UnregisterHandler(handler); in UnregisterHandler()
186 return registrar_.GetInvalidatorState(); in GetInvalidatorState()
227 registrar_.UpdateInvalidatorState(INVALIDATIONS_ENABLED); in OnNotificationsEnabled()
233 registrar_.GetAllRegisteredIds())); in OnNotificationsEnabled()
241 registrar_.UpdateInvalidatorState(FromNotifierReason(reason)); in OnNotificationsDisabled()
268 registrar_.GetAllRegisteredIds())); in OnIncomingNotification()
275 registrar_.DispatchInvalidationsToHandlers( in OnIncomingNotification()
/external/chromium_org/content/browser/
Dnotification_service_impl_unittest.cc43 NotificationRegistrar registrar_; member in content::NotificationServiceImplTest
67 registrar_.Add(&all_types_all_sources, NOTIFICATION_ALL, in TEST_F()
69 registrar_.Add(&idle_all_sources, kNotification1, in TEST_F()
71 registrar_.Add(&all_types_test_source, NOTIFICATION_ALL, in TEST_F()
73 registrar_.Add(&idle_test_source, kNotification1, in TEST_F()
127 registrar_.RemoveAll(); in TEST_F()
146 registrar_.Add(&idle_test_source, kNotification1, in TEST_F()
148 registrar_.Add(&idle_test_source, NOTIFICATION_ALL, in TEST_F()
156 registrar_.Remove(&idle_test_source, kNotification1, in TEST_F()
164 registrar_.Remove(&idle_test_source, NOTIFICATION_ALL, in TEST_F()
/external/chromium_org/chrome/browser/web_resource/
Deula_accepted_notifier.cc30 if (registrar_.IsEmpty()) { in IsEulaAccepted()
31 registrar_.Init(local_state_); in IsEulaAccepted()
32 registrar_.Add(prefs::kEulaAccepted, in IsEulaAccepted()
62 DCHECK(!registrar_.IsEmpty()); in OnPrefChanged()
63 registrar_.RemoveAll(); in OnPrefChanged()
/external/chromium_org/chrome/browser/google/
Dgoogle_url_tracker_navigation_helper_impl.cc32 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, in SetListeningForNavigationCommit()
35 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, in SetListeningForNavigationCommit()
44 return registrar_.IsRegistered( in IsListeningForNavigationCommit()
54 registrar_.Add(this, in SetListeningForTabDestruction()
58 registrar_.Remove(this, in SetListeningForTabDestruction()
65 return registrar_.IsRegistered( in IsListeningForTabDestruction()
/external/chromium_org/chrome/browser/sync/sessions/
Dnotification_service_sessions_router.cc41 registrar_.Add(this, chrome::NOTIFICATION_TAB_PARENTED, in NotificationServiceSessionsRouter()
43 registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_DESTROYED, in NotificationServiceSessionsRouter()
45 registrar_.Add(this, content::NOTIFICATION_NAV_LIST_PRUNED, in NotificationServiceSessionsRouter()
47 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_CHANGED, in NotificationServiceSessionsRouter()
49 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, in NotificationServiceSessionsRouter()
51 registrar_.Add(this, in NotificationServiceSessionsRouter()
54 registrar_.Add(this, in NotificationServiceSessionsRouter()
/external/chromium_org/chrome/browser/ui/views/
Dload_complete_listener.cc16 registrar_.Add(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, in LoadCompleteListener()
21 if (registrar_.IsRegistered(this, in ~LoadCompleteListener()
24 registrar_.Remove(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, in ~LoadCompleteListener()
36 registrar_.Remove(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, in Observe()
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_internal_extension_provider.cc29 : registrar_(new content::NotificationRegistrar) { in InternalExtensionProvider()
38 registrar_->Add(this, in InternalExtensionProvider()
41 registrar_->Add(this, in InternalExtensionProvider()
44 registrar_->Add(this, in InternalExtensionProvider()
50 DCHECK(!registrar_.get()); in ~InternalExtensionProvider()
160 registrar_.reset(); in ShutdownOnUIThread()
/external/chromium_org/chrome/browser/ui/tabs/
Dpinned_tab_service.cc34 registrar_.Add(this, chrome::NOTIFICATION_BROWSER_OPENED, in PinnedTabService()
36 registrar_.Add(this, chrome::NOTIFICATION_BROWSER_CLOSING, in PinnedTabService()
38 registrar_.Add(this, chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST, in PinnedTabService()
40 registrar_.Add(this, chrome::NOTIFICATION_TAB_ADDED, in PinnedTabService()
/external/chromium_org/chrome/browser/history/
Din_memory_history_backend.cc52 registrar_.Add(this, chrome::NOTIFICATION_HISTORY_URL_VISITED, source); in AttachToHistoryService()
53 registrar_.Add(this, chrome::NOTIFICATION_HISTORY_URLS_MODIFIED, source); in AttachToHistoryService()
54 registrar_.Add(this, chrome::NOTIFICATION_HISTORY_URLS_DELETED, source); in AttachToHistoryService()
55 registrar_.Add( in AttachToHistoryService()
57 registrar_.Add( in AttachToHistoryService()
/external/chromium_org/chrome/browser/extensions/api/font_settings/
Dfont_settings_api.cc98 registrar_.Init(profile_->GetPrefs()); in FontSettingsEventRouter()
113 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
115 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
117 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
119 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
121 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
123 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
125 RegisterFontFamilyMapObserver(&registrar_, in FontSettingsEventRouter()
135 registrar_.Add(pref_name, in AddPrefToObserve()
158 const PrefService::Preference* pref = registrar_.prefs()->FindPreference( in OnFontNamePrefChanged()
[all …]
/external/chromium_org/chrome/browser/invalidation/
Dticl_profile_settings_provider.cc20 registrar_.Init(profile->GetPrefs()); in TiclProfileSettingsProvider()
21 registrar_.Add( in TiclProfileSettingsProvider()
25 registrar_.Add( in TiclProfileSettingsProvider()
/external/chromium_org/chrome/browser/ui/toolbar/
Dwrench_menu_badge_controller.cc84 registrar_.Add(this, chrome::NOTIFICATION_UPGRADE_RECOMMENDED, in WrenchMenuBadgeController()
86 registrar_.Add(this, chrome::NOTIFICATION_GLOBAL_ERRORS_CHANGED, in WrenchMenuBadgeController()
91 registrar_.Add(this, chrome::NOTIFICATION_MODULE_LIST_ENUMERATED, in WrenchMenuBadgeController()
94 registrar_.Add(this, chrome::NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE, in WrenchMenuBadgeController()
/external/chromium_org/chrome/browser/chromeos/login/auth/
Dauth_prewarmer.cc26 if (registrar_.IsRegistered( in ~AuthPrewarmer()
30 registrar_.Remove( in ~AuthPrewarmer()
57 registrar_.Add( in PrewarmAuthentication()
79 registrar_.Remove( in Observe()
/external/chromium_org/chrome/browser/ui/
Dgesture_prefs_observer_factory_aura.cc84 PrefChangeRegistrar registrar_; member in __anon139c62670111::GesturePrefsObserver
121 registrar_.Init(prefs); in GesturePrefsObserver()
122 registrar_.RemoveAll(); in GesturePrefsObserver()
130 registrar_.Add(kPrefsToObserve[i], callback); in GesturePrefsObserver()
134 registrar_.Add(overscroll_prefs[i].pref_name, callback); in GesturePrefsObserver()
142 registrar_.RemoveAll(); in Shutdown()
/external/chromium_org/chrome/browser/extensions/api/identity/
Dweb_auth_flow.cc61 registrar_.RemoveAll(); in ~WebAuthFlow()
118 registrar_.Add( in OnAppWindowAdded()
129 registrar_.RemoveAll(); in OnAppWindowRemoved()
168 registrar_.RemoveAll(); in Observe()
169 registrar_.Add(this, in Observe()
172 registrar_.Add(this, in Observe()
/external/chromium_org/chrome/browser/thumbnails/
Dthumbnail_tab_helper.cc124 registrar_.Add(this, in ThumbnailTabHelper()
152 bool registered = registrar_.IsRegistered( in RenderViewDeleted()
157 registrar_.Remove( in RenderViewDeleted()
212 bool registered = registrar_.IsRegistered( in RenderViewHostCreated()
217 registrar_.Add( in RenderViewHostCreated()
/external/chromium_org/chrome/browser/notifications/
Dnotification_system_observer.cc18 registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING, in NotificationSystemObserver()
20 registrar_.Add(this, in NotificationSystemObserver()
23 registrar_.Add(this, chrome::NOTIFICATION_PROFILE_DESTROYED, in NotificationSystemObserver()
/external/chromium_org/chrome/browser/apps/app_shim/
Dapp_shim_handler_mac.cc83 registrar_.Add( in AppShimHandlerRegistry()
86 registrar_.Add( in AppShimHandlerRegistry()
89 registrar_.Add( in AppShimHandlerRegistry()
116 content::NotificationRegistrar registrar_; member in apps::__anonf2ca95f70111::AppShimHandlerRegistry
/external/chromium_org/chrome/browser/ui/startup/
Ddefault_browser_prompt_win.cc37 registrar_.Add(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, in SetMetroBrowserFlowLauncher()
46 content::NotificationRegistrar registrar_; member in __anon079a3fdb0111::SetMetroBrowserFlowLauncher
64 registrar_.RemoveAll(); in Observe()

12345678910>>...24