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

Unified Diff: jingle/notifier/listener/fake_push_client_observer.h

Issue 10545170: [Sync] Propagate XMPP auth errors to SyncNotifierObservers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 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: jingle/notifier/listener/fake_push_client_observer.h
diff --git a/jingle/notifier/listener/fake_push_client_observer.h b/jingle/notifier/listener/fake_push_client_observer.h
index b8ee6d6efedf0f56167b87a41a30a193f3f41878..75a390690b51512854799fb184347c2a545d4a3c 100644
--- a/jingle/notifier/listener/fake_push_client_observer.h
+++ b/jingle/notifier/listener/fake_push_client_observer.h
@@ -17,16 +17,16 @@ class FakePushClientObserver : public PushClientObserver {
virtual ~FakePushClientObserver();
// PushClientObserver implementation.
- virtual void OnNotificationStateChange(
- bool notifications_enabled) OVERRIDE;
+ virtual void OnPushClientStateChange(
+ PushClientState push_client_state) OVERRIDE;
virtual void OnIncomingNotification(
const Notification& notification) OVERRIDE;
- bool notifications_enabled() const;
+ PushClientState push_client_state() const;
const Notification& last_incoming_notification() const;
private:
- bool notifications_enabled_;
+ PushClientState push_client_state_;
Notification last_incoming_notification_;
};

Powered by Google App Engine
This is Rietveld 408576698