Index: jingle/notifier/listener/fake_push_client_observer.cc |
diff --git a/jingle/notifier/listener/fake_push_client_observer.cc b/jingle/notifier/listener/fake_push_client_observer.cc |
index ec1b9e1118802faeacefdb6abb4f1bbe63044129..ed953b2231d371a1321a88d1be4d1454a11d30c5 100644 |
--- a/jingle/notifier/listener/fake_push_client_observer.cc |
+++ b/jingle/notifier/listener/fake_push_client_observer.cc |
@@ -7,13 +7,13 @@ |
namespace notifier { |
FakePushClientObserver::FakePushClientObserver() |
- : notifications_enabled_(false) {} |
+ : push_client_state_(NOTIFICATIONS_OFF) {} |
FakePushClientObserver::~FakePushClientObserver() {} |
-void FakePushClientObserver::OnNotificationStateChange( |
- bool notifications_enabled) { |
- notifications_enabled_ = notifications_enabled; |
+void FakePushClientObserver::OnPushClientStateChange( |
+ PushClientState push_client_state) { |
+ push_client_state_ = push_client_state; |
} |
void FakePushClientObserver::OnIncomingNotification( |
@@ -21,8 +21,8 @@ void FakePushClientObserver::OnIncomingNotification( |
last_incoming_notification_ = notification; |
} |
-bool FakePushClientObserver::notifications_enabled() const { |
- return notifications_enabled_; |
+PushClientState FakePushClientObserver::push_client_state() const { |
+ return push_client_state_; |
} |
const Notification& |