| Index: jingle/notifier/listener/fake_push_client.cc
|
| diff --git a/jingle/notifier/listener/fake_push_client.cc b/jingle/notifier/listener/fake_push_client.cc
|
| index cfe4a999ab4be1223f2dbdc6e38f64b34fad45f8..0565c3c1ed51c038eded992b2cfb3f213c6b0d02 100644
|
| --- a/jingle/notifier/listener/fake_push_client.cc
|
| +++ b/jingle/notifier/listener/fake_push_client.cc
|
| @@ -35,10 +35,15 @@ void FakePushClient::SendNotification(const Notification& notification) {
|
| sent_notifications_.push_back(notification);
|
| }
|
|
|
| -void FakePushClient::SimulateNotificationStateChange(
|
| - bool notifications_enabled) {
|
| +void FakePushClient::EnableNotifications() {
|
| FOR_EACH_OBSERVER(PushClientObserver, observers_,
|
| - OnNotificationStateChange(notifications_enabled));
|
| + OnNotificationsEnabled());
|
| +}
|
| +
|
| +void FakePushClient::DisableNotifications(
|
| + NotificationsDisabledReason reason) {
|
| + FOR_EACH_OBSERVER(PushClientObserver, observers_,
|
| + OnNotificationsDisabled(reason));
|
| }
|
|
|
| void FakePushClient::SimulateIncomingNotification(
|
|
|