| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_VIDEO_STATS_COUNTER_H_ | 11 #ifndef WEBRTC_VIDEO_STATS_COUNTER_H_ |
| 12 #define WEBRTC_VIDEO_STATS_COUNTER_H_ | 12 #define WEBRTC_VIDEO_STATS_COUNTER_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "webrtc/rtc_base/constructormagic.h" | 17 #include "webrtc/base/constructormagic.h" |
| 18 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
| 19 | 19 |
| 20 namespace webrtc { | 20 namespace webrtc { |
| 21 | 21 |
| 22 class AggregatedCounter; | 22 class AggregatedCounter; |
| 23 class Clock; | 23 class Clock; |
| 24 class Samples; | 24 class Samples; |
| 25 | 25 |
| 26 // |StatsCounterObserver| is called periodically when a metric is updated. | 26 // |StatsCounterObserver| is called periodically when a metric is updated. |
| 27 class StatsCounterObserver { | 27 class StatsCounterObserver { |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 private: | 284 private: |
| 285 bool GetMetric(int* metric) const override; | 285 bool GetMetric(int* metric) const override; |
| 286 int GetValueForEmptyInterval() const override; // Returns zero. | 286 int GetValueForEmptyInterval() const override; // Returns zero. |
| 287 | 287 |
| 288 RTC_DISALLOW_COPY_AND_ASSIGN(RateAccCounter); | 288 RTC_DISALLOW_COPY_AND_ASSIGN(RateAccCounter); |
| 289 }; | 289 }; |
| 290 | 290 |
| 291 } // namespace webrtc | 291 } // namespace webrtc |
| 292 | 292 |
| 293 #endif // WEBRTC_VIDEO_STATS_COUNTER_H_ | 293 #endif // WEBRTC_VIDEO_STATS_COUNTER_H_ |
| OLD | NEW |