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

Unified Diff: components/gcm_driver/gcm_app_handler.h

Issue 442123003: [GCM] Adding the OnSendAcknowledgement event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing code review comments. Created 6 years, 4 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 | « components/gcm_driver/fake_gcm_client.cc ('k') | components/gcm_driver/gcm_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_app_handler.h
diff --git a/components/gcm_driver/gcm_app_handler.h b/components/gcm_driver/gcm_app_handler.h
index 6e5cd8fc3b1a8f8a9991e6656e5d2d142fb9b0c7..04d1abf7b274c5cf3e4160373cb8813407e0150b 100644
--- a/components/gcm_driver/gcm_app_handler.h
+++ b/components/gcm_driver/gcm_app_handler.h
@@ -36,6 +36,10 @@ class GCMAppHandler {
const std::string& app_id,
const GCMClient::SendErrorDetails& send_error_details) = 0;
+ // Called when a GCM message was received by GCM server.
+ virtual void OnSendAcknowledged(const std::string& app_id,
+ const std::string& message_id) = 0;
+
// Called when a new connection is established and a successful handshake
// has been performed. Note that |ip_endpoint| is only set if available for
// the current platform.
« no previous file with comments | « components/gcm_driver/fake_gcm_client.cc ('k') | components/gcm_driver/gcm_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698