Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: jingle/notifier/listener/xmpp_push_client.h

Issue 11232048: Adding XMPP ping functionality to CLoudPrint. XMPP ping and timeout is controlled thorugh Service S… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added missing files Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: jingle/notifier/listener/xmpp_push_client.h
diff --git a/jingle/notifier/listener/xmpp_push_client.h b/jingle/notifier/listener/xmpp_push_client.h
index 64725d8601b37797997ee9b2bd86bc22d0aa7627..6a5986dbcfedd22b5038f165ed23a3dbecdee065 100644
--- a/jingle/notifier/listener/xmpp_push_client.h
+++ b/jingle/notifier/listener/xmpp_push_client.h
@@ -49,6 +49,7 @@ class XmppPushClient :
virtual void UpdateCredentials(
const std::string& email, const std::string& token) OVERRIDE;
virtual void SendNotification(const Notification& notification) OVERRIDE;
+ virtual void SendPing() OVERRIDE;
// Login::Delegate implementation.
virtual void OnConnect(
@@ -59,6 +60,7 @@ class XmppPushClient :
// PushNotificationsListenTaskDelegate implementation.
virtual void OnNotificationReceived(
const Notification& notification) OVERRIDE;
+ virtual void OnPingResponseReceived() OVERRIDE;
// PushNotificationsSubscribeTaskDelegate implementation.
virtual void OnSubscribed() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698