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

Unified Diff: components/gcm_driver/gcm_client_impl.h

Issue 2111973002: Add support for GCM subtypes to desktop Instance ID implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid9push
Patch Set: Address jianli's review comments Created 4 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: components/gcm_driver/gcm_client_impl.h
diff --git a/components/gcm_driver/gcm_client_impl.h b/components/gcm_driver/gcm_client_impl.h
index f4cc121a59938692bfcae8a96bf3a2f6756c6d60..1dd875764e391c89ccf95e899bb38cbc53ef4547 100644
--- a/components/gcm_driver/gcm_client_impl.h
+++ b/components/gcm_driver/gcm_client_impl.h
@@ -283,12 +283,15 @@ class GCMClientImpl
// Fires OnMessageReceived event on the delegate of this class, based on the
// details in |data_message_stanza| and |message_data|.
void HandleIncomingDataMessage(
+ const std::string& app_id,
+ bool was_subtype,
const mcs_proto::DataMessageStanza& data_message_stanza,
MessageData& message_data);
// Fires OnMessageSendError event on the delegate of this calss, based on the
Nicolas Zea 2016/08/17 20:54:09 nit: calss -> class
johnme 2016/08/18 17:43:21 Done.
// details in |data_message_stanza| and |message_data|.
void HandleIncomingSendError(
+ const std::string& app_id,
const mcs_proto::DataMessageStanza& data_message_stanza,
MessageData& message_data);

Powered by Google App Engine
This is Rietveld 408576698