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

Unified Diff: jingle/notifier/listener/push_notifications_send_update_task.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: fixed value 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/push_notifications_send_update_task.h
diff --git a/jingle/notifier/listener/push_notifications_send_update_task.h b/jingle/notifier/listener/push_notifications_send_update_task.h
index 36bb3c35540ecd9b57eed8fdd3802e807998aa81..9a6e6b346fd8036a0e54af9c8c1f040988b4450c 100644
--- a/jingle/notifier/listener/push_notifications_send_update_task.h
+++ b/jingle/notifier/listener/push_notifications_send_update_task.h
@@ -34,10 +34,15 @@ class PushNotificationsSendUpdateTask : public buzz::XmppTask {
static buzz::XmlElement* MakeUpdateMessage(
const Notification& notification, const buzz::Jid& to_jid_bare);
+ static buzz::XmlElement* MakePingStanza(const Notification& notification,
+ const std::string& task_id);
+
const Notification notification_;
FRIEND_TEST_ALL_PREFIXES(PushNotificationsSendUpdateTaskTest,
MakeUpdateMessage);
+ FRIEND_TEST_ALL_PREFIXES(PushNotificationsSendUpdateTaskTest,
+ MakePingStanza);
DISALLOW_COPY_AND_ASSIGN(PushNotificationsSendUpdateTask);
};

Powered by Google App Engine
This is Rietveld 408576698