Index: jingle/notifier/listener/push_notifications_listen_task.h |
diff --git a/jingle/notifier/listener/push_notifications_listen_task.h b/jingle/notifier/listener/push_notifications_listen_task.h |
index daf48d9b38a21085dd0ef2a9d268e209faf23f05..3120a88eb9933d854b072eda96d4e1439c5089df 100644 |
--- a/jingle/notifier/listener/push_notifications_listen_task.h |
+++ b/jingle/notifier/listener/push_notifications_listen_task.h |
@@ -29,6 +29,7 @@ class PushNotificationsListenTask : public buzz::XmppTask { |
class Delegate { |
public: |
virtual void OnNotificationReceived(const Notification& notification) = 0; |
+ virtual void OnPingResponseReceived() = 0; |
protected: |
virtual ~Delegate() {} |
@@ -45,6 +46,8 @@ class PushNotificationsListenTask : public buzz::XmppTask { |
private: |
bool IsValidNotification(const buzz::XmlElement* stanza); |
+ void ProcessMessageStanza(const buzz::XmlElement* stanza); |
+ void ProcessPingStanza(const buzz::XmlElement* stanza); |
Delegate* delegate_; |