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

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

Issue 344613003: Record GCM received data message intervals in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed format issues. Created 6 years, 5 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 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 <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 bool is_recording_; 141 bool is_recording_;
142 Delegate* delegate_; 142 Delegate* delegate_;
143 143
144 std::deque<CheckinActivity> checkin_activities_; 144 std::deque<CheckinActivity> checkin_activities_;
145 std::deque<ConnectionActivity> connection_activities_; 145 std::deque<ConnectionActivity> connection_activities_;
146 std::deque<RegistrationActivity> registration_activities_; 146 std::deque<RegistrationActivity> registration_activities_;
147 std::deque<ReceivingActivity> receiving_activities_; 147 std::deque<ReceivingActivity> receiving_activities_;
148 std::deque<SendingActivity> sending_activities_; 148 std::deque<SendingActivity> sending_activities_;
149 149
150 base::Time last_received_data_message_burst_start_time_;
151
150 DISALLOW_COPY_AND_ASSIGN(GCMStatsRecorderImpl); 152 DISALLOW_COPY_AND_ASSIGN(GCMStatsRecorderImpl);
151 }; 153 };
152 154
153 } // namespace gcm 155 } // namespace gcm
154 156
155 #endif // COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_ 157 #endif // COMPONENTS_GCM_DRIVER_GCM_STATS_RECORDER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/gcm_driver/gcm_stats_recorder_impl.cc » ('j') | components/gcm_driver/gcm_stats_recorder_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698