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

Unified Diff: jingle/notifier/listener/push_client_observer.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: comments addressed 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
« no previous file with comments | « jingle/notifier/listener/push_client.h ('k') | jingle/notifier/listener/push_client_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/notifier/listener/push_client_observer.h
diff --git a/jingle/notifier/listener/push_client_observer.h b/jingle/notifier/listener/push_client_observer.h
index d51deb290b113c64a023cb74e7f9ba02f135fdbc..d153ff0cc97d6a514a98c2c71cffc8545d0e752e 100644
--- a/jingle/notifier/listener/push_client_observer.h
+++ b/jingle/notifier/listener/push_client_observer.h
@@ -39,6 +39,10 @@ class PushClientObserver {
// Called when a notification is received. The details of the
// notification are in |notification|.
virtual void OnIncomingNotification(const Notification& notification) = 0;
+
+ // Called when a ping response is received. Default implementation does
+ // nothing.
+ virtual void OnPingResponse();
};
} // namespace notifier
« no previous file with comments | « jingle/notifier/listener/push_client.h ('k') | jingle/notifier/listener/push_client_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698