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

Side by Side Diff: components/gcm_driver/gcm_stats_recorder_impl.h

Issue 2558553002: GCM: Add Android UMA, and UMA for deleted/collapsed messages (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_
6 #define COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const std::string& source, 71 const std::string& source,
72 UnregistrationRequest::Status status) override; 72 UnregistrationRequest::Status status) override;
73 void RecordUnregistrationRetryDelayed(const std::string& app_id, 73 void RecordUnregistrationRetryDelayed(const std::string& app_id,
74 const std::string& source, 74 const std::string& source,
75 int64_t delay_msec, 75 int64_t delay_msec,
76 int retries_left) override; 76 int retries_left) override;
77 void RecordDataMessageReceived(const std::string& app_id, 77 void RecordDataMessageReceived(const std::string& app_id,
78 const std::string& from, 78 const std::string& from,
79 int message_byte_size, 79 int message_byte_size,
80 bool to_registered_app, 80 bool to_registered_app,
81 ReceivedMessageType message_type) override; 81 ReceivedMessageType message_type,
82 bool has_collapse_key,
83 int deleted_count) override;
82 void RecordDataSentToWire(const std::string& app_id, 84 void RecordDataSentToWire(const std::string& app_id,
83 const std::string& receiver_id, 85 const std::string& receiver_id,
84 const std::string& message_id, 86 const std::string& message_id,
85 int queued) override; 87 int queued) override;
86 void RecordNotifySendStatus(const std::string& app_id, 88 void RecordNotifySendStatus(const std::string& app_id,
87 const std::string& receiver_id, 89 const std::string& receiver_id,
88 const std::string& message_id, 90 const std::string& message_id,
89 MCSClient::MessageSendStatus status, 91 MCSClient::MessageSendStatus status,
90 int byte_size, 92 int byte_size,
91 int ttl) override; 93 int ttl) override;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 base::TimeTicks last_received_data_message_burst_start_time_; 165 base::TimeTicks last_received_data_message_burst_start_time_;
164 base::TimeTicks last_received_data_message_time_within_burst_; 166 base::TimeTicks last_received_data_message_time_within_burst_;
165 int64_t received_data_message_burst_size_; 167 int64_t received_data_message_burst_size_;
166 168
167 DISALLOW_COPY_AND_ASSIGN(GCMStatsRecorderImpl); 169 DISALLOW_COPY_AND_ASSIGN(GCMStatsRecorderImpl);
168 }; 170 };
169 171
170 } // namespace gcm 172 } // namespace gcm
171 173
172 #endif // COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_ 174 #endif // COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698