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 90e086c3268b902fe7568bbb6a226017d959cf48..2c1340de88b5ec288618cb979db492ac37dfdccd 100644 |
--- a/jingle/notifier/listener/fake_push_client.h |
+++ b/jingle/notifier/listener/fake_push_client.h |
@@ -29,6 +29,7 @@ class FakePushClient : public PushClient { |
virtual void UpdateCredentials( |
const std::string& email, const std::string& token) OVERRIDE; |
virtual void SendNotification(const Notification& notification) OVERRIDE; |
+ virtual void SendPing() OVERRIDE; |
// Triggers OnNotificationsEnabled on all observers. |
void EnableNotifications(); |
@@ -43,6 +44,7 @@ class FakePushClient : public PushClient { |
const std::string& email() const; |
const std::string& token() const; |
const std::vector<Notification>& sent_notifications() const; |
+ int sent_pings() const; |
private: |
ObserverList<PushClientObserver> observers_; |
@@ -50,6 +52,7 @@ class FakePushClient : public PushClient { |
std::string email_; |
std::string token_; |
std::vector<Notification> sent_notifications_; |
+ int sent_pings_; |
DISALLOW_COPY_AND_ASSIGN(FakePushClient); |
}; |