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

Unified Diff: components/gcm_driver/gcm_driver_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
« no previous file with comments | « no previous file | components/gcm_driver/gcm_stats_recorder_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_driver_android.cc
diff --git a/components/gcm_driver/gcm_driver_android.cc b/components/gcm_driver/gcm_driver_android.cc
index 325f83fb1528bcd2200ad6e4544c467c4e777ed9..a512e8248d9a045c091c9c2440ec80577d1b26d8 100644
--- a/components/gcm_driver/gcm_driver_android.cc
+++ b/components/gcm_driver/gcm_driver_android.cc
@@ -106,7 +106,8 @@ void GCMDriverAndroid::OnMessageReceived(
message_byte_size += message.raw_data.size();
}
- recorder_.RecordDataMessageReceived(app_id, message_byte_size);
+ recorder_.RecordDataMessageReceived(app_id, message.sender_id,
+ message_byte_size);
DispatchMessage(app_id, message);
}
« no previous file with comments | « no previous file | components/gcm_driver/gcm_stats_recorder_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698