| 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..d3500213910bdccaa3280f7303e17826a6546505 100644
|
| --- a/jingle/notifier/listener/fake_push_client_observer.h
|
| +++ b/jingle/notifier/listener/fake_push_client_observer.h
|
| @@ -17,16 +17,17 @@ class FakePushClientObserver : public PushClientObserver {
|
| virtual ~FakePushClientObserver();
|
|
|
| // PushClientObserver implementation.
|
| - virtual void OnNotificationStateChange(
|
| - bool notifications_enabled) OVERRIDE;
|
| + virtual void OnNotificationsEnabled() OVERRIDE;
|
| + virtual void OnNotificationsDisabled(
|
| + NotificationsDisabledReason reason) OVERRIDE;
|
| virtual void OnIncomingNotification(
|
| const Notification& notification) OVERRIDE;
|
|
|
| - bool notifications_enabled() const;
|
| + NotificationsDisabledReason last_notifications_disabled_reason() const;
|
| const Notification& last_incoming_notification() const;
|
|
|
| private:
|
| - bool notifications_enabled_;
|
| + NotificationsDisabledReason last_notifications_disabled_reason_;
|
| Notification last_incoming_notification_;
|
| };
|
|
|
|
|