| Index: jingle/notifier/listener/fake_push_client.h
|
| diff --git a/jingle/notifier/listener/fake_push_client.h b/jingle/notifier/listener/fake_push_client.h
|
| index 61ba72b2d94e9e5a594871e700661fa87cf17a77..90e086c3268b902fe7568bbb6a226017d959cf48 100644
|
| --- a/jingle/notifier/listener/fake_push_client.h
|
| +++ b/jingle/notifier/listener/fake_push_client.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/observer_list.h"
|
| #include "jingle/notifier/listener/push_client.h"
|
| +#include "jingle/notifier/listener/push_client_observer.h"
|
|
|
| namespace notifier {
|
|
|
| @@ -29,8 +30,11 @@ class FakePushClient : public PushClient {
|
| const std::string& email, const std::string& token) OVERRIDE;
|
| virtual void SendNotification(const Notification& notification) OVERRIDE;
|
|
|
| - // Triggers OnNotificationStateChange on all observers.
|
| - void SimulateNotificationStateChange(bool notifications_enabled);
|
| + // Triggers OnNotificationsEnabled on all observers.
|
| + void EnableNotifications();
|
| +
|
| + // Triggers OnNotificationsDisabled on all observers.
|
| + void DisableNotifications(NotificationsDisabledReason reason);
|
|
|
| // Triggers OnIncomingNotification on all observers.
|
| void SimulateIncomingNotification(const Notification& notification);
|
|
|