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

Unified Diff: chrome/browser/services/gcm/push_messaging_service_impl.cc

Issue 442123003: [GCM] Adding the OnSendAcknowledgement event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/services/gcm/push_messaging_service_impl.cc
diff --git a/chrome/browser/services/gcm/push_messaging_service_impl.cc b/chrome/browser/services/gcm/push_messaging_service_impl.cc
index 351ca81d3dc05d2d2b77c178bf269d7bf6fcbb31..e607b68146996728dc696b8397900a3645ab8e9b 100644
--- a/chrome/browser/services/gcm/push_messaging_service_impl.cc
+++ b/chrome/browser/services/gcm/push_messaging_service_impl.cc
@@ -132,6 +132,12 @@ void PushMessagingServiceImpl::OnSendError(
NOTREACHED() << "The Push API shouldn't have sent messages upstream";
}
+void PushMessagingServiceImpl::OnSendAcknowledged(
+ const std::string& app_id,
+ const std::string& message_id) {
+ NOTREACHED() << "The Push API shouldn't have sent messages upstream";
+}
+
void PushMessagingServiceImpl::Register(
const GURL& origin,
int64 service_worker_registration_id,

Powered by Google App Engine
This is Rietveld 408576698