/external/chromium_org/chrome/browser/sync/glue/ |
D | sync_backend_registrar_unittest.cc | 47 registrar_->ActivateDataType(AUTOFILL, in TestNonUIDataTypeActivationAsync() 53 ExpectRoutingInfo(registrar_.get(), expected_routing_info); in TestNonUIDataTypeActivationAsync() 54 ExpectHasProcessorsForTypes(*registrar_, ModelTypeSet(AUTOFILL)); in TestNonUIDataTypeActivationAsync() 55 TriggerChanges(registrar_.get(), AUTOFILL); in TestNonUIDataTypeActivationAsync() 74 registrar_.reset(new SyncBackendRegistrar("test", &profile_, in SetUp() 76 sync_thread_ = registrar_->sync_thread(); in SetUp() 80 registrar_->RequestWorkerStopOnUIThread(); in TearDown() 85 base::Unretained(registrar_.release()))); in TearDown() 105 registrar_->IsTypeActivatedForTest(model_type)); in ExpectHasProcessorsForTypes() 112 scoped_ptr<SyncBackendRegistrar> registrar_; member in browser_sync::__anone168e6860111::SyncBackendRegistrarTest [all …]
|
D | sync_backend_host_impl.cc | 70 DCHECK(!registrar_.get()); in ~SyncBackendHostImpl() 85 registrar_.reset(new browser_sync::SyncBackendRegistrar(name_, in Initialize() 88 CHECK(registrar_->sync_thread()); in Initialize() 95 registrar_->GetModelSafeRoutingInfo(&routing_info); in Initialize() 96 registrar_->GetWorkers(&workers); in Initialize() 114 registrar_->sync_thread()->message_loop(), in Initialize() 115 registrar_.get(), in Initialize() 140 DCHECK(registrar_->sync_thread()->IsRunning()); in UpdateCredentials() 141 registrar_->sync_thread()->message_loop()->PostTask(FROM_HERE, in UpdateCredentials() 151 registrar_->GetModelSafeRoutingInfo(&routing_info); in StartSyncingWithServer() [all …]
|
/external/chromium_org/sync/notifier/ |
D | fake_invalidator.cc | 16 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()
|
D | invalidation_notifier.cc | 42 registrar_.RegisterHandler(handler); in RegisterHandler() 48 registrar_.UpdateRegisteredIds(handler, ids); in UpdateRegisteredIds() 49 invalidation_listener_.UpdateRegisteredIds(registrar_.GetAllRegisteredIds()); in UpdateRegisteredIds() 54 registrar_.UnregisterHandler(handler); in UnregisterHandler() 59 return registrar_.GetInvalidatorState(); in GetInvalidatorState() 79 registrar_.DispatchInvalidationsToHandlers(invalidation_map); in OnInvalidate() 84 registrar_.UpdateInvalidatorState(state); in OnInvalidatorStateChange()
|
D | invalidator_registrar_unittest.cc | 28 return ®istrar_; 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() 55 InvalidatorRegistrar registrar_; member in syncer::__anon494054b20111::RegistrarInvalidator
|
D | p2p_invalidator.cc | 158 registrar_.RegisterHandler(handler); in RegisterHandler() 165 const ObjectIdSet& old_ids = registrar_.GetRegisteredIds(handler); in UpdateRegisteredIds() 170 registrar_.UpdateRegisteredIds(handler, ids); in UpdateRegisteredIds() 180 registrar_.UnregisterHandler(handler); in UnregisterHandler() 185 return registrar_.GetInvalidatorState(); in GetInvalidatorState() 218 registrar_.UpdateInvalidatorState(INVALIDATIONS_ENABLED); in OnNotificationsEnabled() 224 registrar_.GetAllRegisteredIds())); in OnNotificationsEnabled() 232 registrar_.UpdateInvalidatorState(FromNotifierReason(reason)); in OnNotificationsDisabled() 259 registrar_.GetAllRegisteredIds())); in OnIncomingNotification() 266 registrar_.DispatchInvalidationsToHandlers( in OnIncomingNotification()
|
/external/chromium_org/content/browser/ |
D | notification_service_impl_unittest.cc | 43 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/sync/sessions2/ |
D | notification_service_sessions_router.cc | 39 registrar_.Add(this, chrome::NOTIFICATION_TAB_PARENTED, in NotificationServiceSessionsRouter() 41 registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_DESTROYED, in NotificationServiceSessionsRouter() 43 registrar_.Add(this, content::NOTIFICATION_NAV_LIST_PRUNED, in NotificationServiceSessionsRouter() 45 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_CHANGED, in NotificationServiceSessionsRouter() 47 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, in NotificationServiceSessionsRouter() 49 registrar_.Add(this, in NotificationServiceSessionsRouter() 52 registrar_.Add(this, in NotificationServiceSessionsRouter() 55 registrar_.Add(this, chrome::NOTIFICATION_FAVICON_CHANGED, in NotificationServiceSessionsRouter() 153 registrar_.RemoveAll(); in Stop()
|
/external/chromium_org/chrome/browser/google/ |
D | google_url_tracker_navigation_helper_impl.cc | 32 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_PENDING, in SetListeningForNavigationStart() 35 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_PENDING, in SetListeningForNavigationStart() 41 return registrar_.IsRegistered(this, content::NOTIFICATION_NAV_ENTRY_PENDING, in IsListeningForNavigationStart() 51 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, in SetListeningForNavigationCommit() 54 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, in SetListeningForNavigationCommit() 63 return registrar_.IsRegistered( in IsListeningForNavigationCommit() 74 registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_DESTROYED, in SetListeningForTabDestruction() 77 registrar_.Remove(this, content::NOTIFICATION_WEB_CONTENTS_DESTROYED, in SetListeningForTabDestruction() 86 return registrar_.IsRegistered( in IsListeningForTabDestruction()
|
/external/chromium_org/chrome/browser/printing/ |
D | background_printing_manager.cc | 44 registrar_.Add(this, chrome::NOTIFICATION_PRINT_JOB_RELEASED, preview_source); in OwnPrintPreviewDialog() 47 if (!registrar_.IsRegistered(this, in OwnPrintPreviewDialog() 49 registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_DESTROYED, in OwnPrintPreviewDialog() 60 if (!registrar_.IsRegistered(this, in OwnPrintPreviewDialog() 62 registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CLOSED, in OwnPrintPreviewDialog() 118 registrar_.Remove(this, content::NOTIFICATION_WEB_CONTENTS_DESTROYED, in OnWebContentsDestroyed() 134 registrar_.Remove(this, content::NOTIFICATION_RENDERER_PROCESS_CLOSED, in OnWebContentsDestroyed() 141 registrar_.Remove(this, chrome::NOTIFICATION_PRINT_JOB_RELEASED, in OnWebContentsDestroyed() 151 registrar_.Remove(this, chrome::NOTIFICATION_PRINT_JOB_RELEASED, in DeletePreviewContents()
|
/external/chromium_org/chrome/browser/web_resource/ |
D | eula_accepted_notifier.cc | 30 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/chrome/browser/automation/ |
D | automation_tab_tracker.cc | 21 registrar_.Add(this, NotificationType::TAB_CLOSING, in AddObserver() 23 registrar_.Add(this, NotificationType::EXTERNAL_TAB_CLOSED, in AddObserver() 27 registrar_.Add(this, NotificationType::LOAD_STOP, in AddObserver() 32 registrar_.Remove(this, NotificationType::TAB_CLOSING, in RemoveObserver() 34 registrar_.Remove(this, NotificationType::EXTERNAL_TAB_CLOSED, in RemoveObserver() 36 registrar_.Remove(this, NotificationType::LOAD_STOP, in RemoveObserver()
|
D | automation_provider_observers.cc | 94 registrar_.Add(this, NotificationType::LOAD_START, in InitialLoadObserver() 96 registrar_.Add(this, NotificationType::LOAD_STOP, in InitialLoadObserver() 150 registrar_.RemoveAll(); in ConditionMet() 157 registrar_.Add(this, NotificationType::INITIAL_NEW_TAB_UI_LOAD, in NewTabUILoadObserver() 188 registrar_.Add(this, NotificationType::LOAD_STOP, in NavigationControllerRestoredObserver() 201 registrar_.RemoveAll(); in Observe() 234 registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED, source); in NavigationNotificationObserver() 235 registrar_.Add(this, NotificationType::LOAD_START, source); in NavigationNotificationObserver() 236 registrar_.Add(this, NotificationType::LOAD_STOP, source); in NavigationNotificationObserver() 237 registrar_.Add(this, NotificationType::AUTH_NEEDED, source); in NavigationNotificationObserver() [all …]
|
D | automation_provider_observers.h | 87 NotificationRegistrar registrar_; variable 127 NotificationRegistrar registrar_; 148 NotificationRegistrar registrar_; variable 173 NotificationRegistrar registrar_; variable 197 NotificationRegistrar registrar_; 287 NotificationRegistrar registrar_; variable 309 NotificationRegistrar registrar_; 333 NotificationRegistrar registrar_; 358 NotificationRegistrar registrar_; 381 NotificationRegistrar registrar_; [all …]
|
/external/chromium/chrome/browser/sync/util/ |
D | extensions_activity_monitor.cc | 23 : monitor_(monitor), registrar_(registrar) {} in RegistrationTask() 34 registrar_->Add(monitor_, NotificationType::EXTENSION_BOOKMARKS_API_INVOKED, in Run() 40 NotificationRegistrar* registrar_; member in browser_sync::__anon20dd973e0111::RegistrationTask 47 new RegistrationTask(this, ®istrar_)); in ExtensionsActivityMonitor() 57 if (!registrar_.IsEmpty()) { in ~ExtensionsActivityMonitor() 63 registrar_.RemoveAll(); in ~ExtensionsActivityMonitor()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | wizard_accessibility_helper.cc | 57 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications() 60 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications() 63 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications() 66 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications() 69 registrar_.Add(accessibility_handler_.get(), in RegisterNotifications() 78 registrar_.RemoveAll(); in UnregisterNotifications()
|
/external/chromium_org/chrome/browser/extensions/ |
D | state_store.cc | 67 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, in StateStore() 69 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, in StateStore() 74 registrar_.Add(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, in StateStore() 77 registrar_.Add(this, chrome::NOTIFICATION_SESSION_RESTORE_DONE, in StateStore() 87 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, in StateStore() 89 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, in StateStore() 142 registrar_.Remove(this, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME, in Observe() 144 registrar_.Remove(this, chrome::NOTIFICATION_SESSION_RESTORE_DONE, in Observe()
|
D | install_tracker.cc | 19 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, in InstallTracker() 21 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, in InstallTracker() 23 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, in InstallTracker() 25 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, in InstallTracker() 27 registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, in InstallTracker() 29 registrar_.Add(this, chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST, in InstallTracker()
|
/external/chromium/chrome/browser/sync/glue/ |
D | sync_backend_host.cc | 83 DCHECK(registrar_.workers.empty()); in ~SyncBackendHost() 105 registrar_.workers[GROUP_DB] = new DatabaseModelWorker(); in Initialize() 106 registrar_.workers[GROUP_UI] = new UIModelWorker(); in Initialize() 107 registrar_.workers[GROUP_PASSIVE] = new ModelSafeWorker(); in Initialize() 113 registrar_.workers[GROUP_HISTORY] = in Initialize() 123 registrar_.routing_info[(*it)] = GROUP_PASSIVE; in Initialize() 129 registrar_.workers[GROUP_PASSWORD] = in Initialize() 134 registrar_.routing_info.erase(syncable::PASSWORDS); in Initialize() 138 registrar_.routing_info[syncable::NIGORI] = GROUP_PASSIVE; in Initialize() 172 return registrar_.routing_info.find(syncable::NIGORI) != in IsNigoriEnabled() [all …]
|
/external/chromium_org/chrome/browser/ui/views/ |
D | load_complete_listener.cc | 16 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/automation/ |
D | automation_provider_observers.cc | 122 registrar_.Add(this, content::NOTIFICATION_LOAD_START, in InitialLoadObserver() 124 registrar_.Add(this, content::NOTIFICATION_LOAD_STOP, in InitialLoadObserver() 126 registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CLOSED, in InitialLoadObserver() 206 registrar_.RemoveAll(); in ConditionMet() 214 registrar_.Add(this, chrome::NOTIFICATION_INITIAL_NEW_TAB_UI_LOAD, in NewTabUILoadObserver() 245 registrar_.Add(this, content::NOTIFICATION_LOAD_STOP, in NavigationControllerRestoredObserver() 257 registrar_.RemoveAll(); in Observe() 294 registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, source); in NavigationNotificationObserver() 295 registrar_.Add(this, content::NOTIFICATION_LOAD_START, source); in NavigationNotificationObserver() 296 registrar_.Add(this, content::NOTIFICATION_LOAD_STOP, source); in NavigationNotificationObserver() [all …]
|
D | automation_tab_tracker.cc | 24 registrar_.Add(this, chrome::NOTIFICATION_TAB_CLOSING, in AddObserver() 26 registrar_.Add(this, chrome::NOTIFICATION_EXTERNAL_TAB_CLOSED, in AddObserver() 31 registrar_.Remove(this, chrome::NOTIFICATION_TAB_CLOSING, in RemoveObserver() 33 registrar_.Remove(this, chrome::NOTIFICATION_EXTERNAL_TAB_CLOSED, in RemoveObserver()
|
D | automation_provider_observers.h | 121 content::NotificationRegistrar registrar_; variable 149 content::NotificationRegistrar registrar_; variable 169 content::NotificationRegistrar registrar_; 193 content::NotificationRegistrar registrar_; variable 219 content::NotificationRegistrar registrar_; 244 content::NotificationRegistrar registrar_; 336 content::NotificationRegistrar registrar_; 364 content::NotificationRegistrar registrar_; variable 390 content::NotificationRegistrar registrar_; 418 content::NotificationRegistrar registrar_; variable [all …]
|
/external/chromium/chrome/browser/task_manager/ |
D | task_manager_resource_providers.cc | 273 registrar_.Add(this, NotificationType::TAB_CONTENTS_CONNECTED, in StartUpdating() 275 registrar_.Add(this, NotificationType::TAB_CONTENTS_SWAPPED, in StartUpdating() 277 registrar_.Add(this, NotificationType::TAB_CONTENTS_DISCONNECTED, in StartUpdating() 283 registrar_.Add(this, NotificationType::TAB_CONTENTS_DESTROYED, in StartUpdating() 292 registrar_.Remove(this, NotificationType::TAB_CONTENTS_CONNECTED, in StopUpdating() 294 registrar_.Remove(this, NotificationType::TAB_CONTENTS_SWAPPED, in StopUpdating() 296 registrar_.Remove(this, NotificationType::TAB_CONTENTS_DISCONNECTED, in StopUpdating() 298 registrar_.Remove(this, NotificationType::TAB_CONTENTS_DESTROYED, in StopUpdating() 498 registrar_.Add(this, NotificationType::PRERENDER_CONTENTS_STARTED, in StartUpdating() 500 registrar_.Add(this, NotificationType::PRERENDER_CONTENTS_USED, in StartUpdating() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_accessibility_api.cc | 53 if (registrar_.IsEmpty()) { in ObserveProfile() 54 registrar_.Add(this, in ObserveProfile() 57 registrar_.Add(this, in ObserveProfile() 60 registrar_.Add(this, in ObserveProfile() 63 registrar_.Add(this, in ObserveProfile() 66 registrar_.Add(this, in ObserveProfile() 69 registrar_.Add(this, in ObserveProfile() 72 registrar_.Add(this, in ObserveProfile()
|