Home
last modified time | relevance | path

Searched refs:SyncNotifierObserver (Results 1 – 12 of 12) sorted by relevance

/external/chromium/chrome/browser/sync/notifier/
Dnon_blocking_invalidation_notifier.cc19 public SyncNotifierObserver {
25 void AddObserver(SyncNotifierObserver* observer);
26 void RemoveObserver(SyncNotifierObserver* observer);
51 scoped_refptr<ObserverListThreadSafe<SyncNotifierObserver> > observers_;
56 : observers_(new ObserverListThreadSafe<SyncNotifierObserver>()) { in Core()
85 SyncNotifierObserver* observer) { in AddObserver()
90 SyncNotifierObserver* observer) { in RemoveObserver()
115 observers_->Notify(&SyncNotifierObserver::OnIncomingNotification, in OnIncomingNotification()
122 observers_->Notify(&SyncNotifierObserver::OnNotificationStateChange, in OnNotificationStateChange()
129 observers_->Notify(&SyncNotifierObserver::StoreState, state); in StoreState()
[all …]
Dsync_notifier_observer.h15 class SyncNotifierObserver {
17 SyncNotifierObserver() {} in SyncNotifierObserver() function
18 virtual ~SyncNotifierObserver() {} in ~SyncNotifierObserver()
Dinvalidation_notifier.cc40 void InvalidationNotifier::AddObserver(SyncNotifierObserver* observer) { in AddObserver()
45 void InvalidationNotifier::RemoveObserver(SyncNotifierObserver* observer) { in RemoveObserver()
118 FOR_EACH_OBSERVER(SyncNotifierObserver, observers_, in OnInvalidate()
123 FOR_EACH_OBSERVER(SyncNotifierObserver, observers_, in OnSessionStatusChanged()
130 FOR_EACH_OBSERVER(SyncNotifierObserver, observers_, StoreState(state)); in WriteState()
Dsync_notifier.h31 class SyncNotifierObserver; variable
38 virtual void AddObserver(SyncNotifierObserver* observer) = 0;
39 virtual void RemoveObserver(SyncNotifierObserver* observer) = 0;
Dp2p_notifier.cc38 void P2PNotifier::AddObserver(SyncNotifierObserver* observer) { in AddObserver()
47 void P2PNotifier::RemoveObserver(SyncNotifierObserver* observer) { in RemoveObserver()
103 FOR_EACH_OBSERVER(SyncNotifierObserver, observer_list_, in OnNotificationStateChange()
137 FOR_EACH_OBSERVER(SyncNotifierObserver, observer_list_, in MaybeEmitNotification()
Dp2p_notifier.h40 virtual void AddObserver(SyncNotifierObserver* observer);
41 virtual void RemoveObserver(SyncNotifierObserver* observer);
60 ObserverList<SyncNotifierObserver> observer_list_;
Dinvalidation_notifier.h46 virtual void AddObserver(SyncNotifierObserver* observer) OVERRIDE;
47 virtual void RemoveObserver(SyncNotifierObserver* observer) OVERRIDE;
88 ObserverList<SyncNotifierObserver> observers_;
Dnon_blocking_invalidation_notifier.h34 virtual void AddObserver(SyncNotifierObserver* observer);
35 virtual void RemoveObserver(SyncNotifierObserver* observer);
Dmock_sync_notifier_observer.h16 class MockSyncNotifierObserver : public SyncNotifierObserver {
/external/chromium/chrome/browser/sync/tools/
Dsync_listen_notifications.cc29 class NotificationPrinter : public sync_notifier::SyncNotifierObserver {
/external/chromium/chrome/browser/sync/engine/
Dsyncapi_unittest.cc630 MOCK_METHOD1(AddObserver, void(sync_notifier::SyncNotifierObserver*));
631 MOCK_METHOD1(RemoveObserver, void(sync_notifier::SyncNotifierObserver*));
743 sync_notifier::SyncNotifierObserver* sync_notifier_observer) { in SyncNotifierAddObserver()
749 sync_notifier::SyncNotifierObserver* sync_notifier_observer) { in SyncNotifierRemoveObserver()
781 sync_notifier::SyncNotifierObserver* sync_notifier_observer_;
Dsyncapi.cc1175 public sync_notifier::SyncNotifierObserver,