| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 REMOTING_PROTOCOL_PERFORMANCE_TRACKER_H_ | 5 #ifndef REMOTING_PROTOCOL_PERFORMANCE_TRACKER_H_ |
| 6 #define REMOTING_PROTOCOL_PERFORMANCE_TRACKER_H_ | 6 #define REMOTING_PROTOCOL_PERFORMANCE_TRACKER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
| 11 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 12 #include "remoting/base/rate_counter.h" | 15 #include "remoting/base/rate_counter.h" |
| 13 #include "remoting/base/running_average.h" | 16 #include "remoting/base/running_average.h" |
| 14 | 17 |
| 15 namespace remoting { | 18 namespace remoting { |
| 16 | 19 |
| 17 class VideoPacket; | 20 class VideoPacket; |
| 18 | 21 |
| 19 namespace protocol { | 22 namespace protocol { |
| 20 | 23 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 134 |
| 132 base::RepeatingTimer upload_uma_stats_timer_; | 135 base::RepeatingTimer upload_uma_stats_timer_; |
| 133 | 136 |
| 134 DISALLOW_COPY_AND_ASSIGN(PerformanceTracker); | 137 DISALLOW_COPY_AND_ASSIGN(PerformanceTracker); |
| 135 }; | 138 }; |
| 136 | 139 |
| 137 } // namespace protocol | 140 } // namespace protocol |
| 138 } // namespace remoting | 141 } // namespace remoting |
| 139 | 142 |
| 140 #endif // REMOTING_PROTOCOL_PERFORMANCE_TRACKER_H_ | 143 #endif // REMOTING_PROTOCOL_PERFORMANCE_TRACKER_H_ |
| OLD | NEW |