Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: sync/notifier/mock_sync_notifier_observer.h

Issue 10545170: [Sync] Propagate XMPP auth errors to SyncNotifierObservers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix deps, win compile error Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sync/notifier/mock_sync_notifier_observer.h
diff --git a/sync/notifier/mock_sync_notifier_observer.h b/sync/notifier/mock_sync_notifier_observer.h
index 426f06574bdb970468e3608c11517899d09f25f7..95a5f06c3bb13fdb479ee8cfcf0a38bacbdd235d 100644
--- a/sync/notifier/mock_sync_notifier_observer.h
+++ b/sync/notifier/mock_sync_notifier_observer.h
@@ -18,10 +18,11 @@ class MockSyncNotifierObserver : public SyncNotifierObserver {
MockSyncNotifierObserver();
virtual ~MockSyncNotifierObserver();
+ MOCK_METHOD0(OnNotificationsEnabled, void());
+ MOCK_METHOD1(OnNotificationsDisabled, void(NotificationsDisabledReason));
MOCK_METHOD2(OnIncomingNotification,
void(const syncable::ModelTypePayloadMap&,
IncomingNotificationSource));
- MOCK_METHOD1(OnNotificationStateChange, void(bool));
};
} // namespace sync_notifier

Powered by Google App Engine
This is Rietveld 408576698