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

Unified Diff: components/gcm_driver/gcm_stats_recorder_android.cc

Issue 2250263007: Pass incoming sender_id to GCMStatsRecorderAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_stats_recorder_android.cc
diff --git a/components/gcm_driver/gcm_stats_recorder_android.cc b/components/gcm_driver/gcm_stats_recorder_android.cc
index 6a6b09fd8934f26f920b707f24bb3927fd647ce5..b07235cc37ad8d96501d79b06f0ce0aab1f5f161 100644
--- a/components/gcm_driver/gcm_stats_recorder_android.cc
+++ b/components/gcm_driver/gcm_stats_recorder_android.cc
@@ -104,12 +104,14 @@ void GCMStatsRecorderAndroid::RecordRegistration(const std::string& app_id,
void GCMStatsRecorderAndroid::RecordDataMessageReceived(
const std::string& app_id,
+ const std::string& from,
int message_byte_size) {
if (!is_recording_)
return;
ReceivingActivity activity;
activity.app_id = app_id;
+ activity.from = from;
activity.message_byte_size = message_byte_size;
activity.event = "Data msg received";
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_android.h ('k') | components/gcm_driver/gcm_stats_recorder_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698