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

Unified Diff: components/gcm_driver/gcm_stats_recorder_impl.cc

Issue 2558553002: GCM: Add Android UMA, and UMA for deleted/collapsed messages (Closed)
Patch Set: Address review comments and add Android logging Created 4 years 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_impl.cc
diff --git a/components/gcm_driver/gcm_stats_recorder_impl.cc b/components/gcm_driver/gcm_stats_recorder_impl.cc
index faa0cc7e8caeb05f04b2eb2d37cb54791ff79653..721e85a39f3da41b6f0c7615d0b0de60bf8ad382 100644
--- a/components/gcm_driver/gcm_stats_recorder_impl.cc
+++ b/components/gcm_driver/gcm_stats_recorder_impl.cc
@@ -416,11 +416,6 @@ void GCMStatsRecorderImpl::RecordDataMessageReceived(
int message_byte_size,
bool to_registered_app,
ReceivedMessageType message_type) {
- UMA_HISTOGRAM_BOOLEAN("GCM.DataMessageReceivedHasRegisteredApp",
- to_registered_app);
- if (to_registered_app)
- UMA_HISTOGRAM_COUNTS("GCM.DataMessageReceived", 1);
-
base::TimeTicks new_timestamp = base::TimeTicks::Now();
if (last_received_data_message_burst_start_time_.is_null()) {
last_received_data_message_burst_start_time_ = new_timestamp;

Powered by Google App Engine
This is Rietveld 408576698