| Index: webrtc/modules/pacing/alr_detector.h
|
| diff --git a/webrtc/modules/pacing/alr_detector.h b/webrtc/modules/pacing/alr_detector.h
|
| index 0dcd9effd006c4343e8b2f6e05850cab20004b2a..29b55aa57d6cad990ed51d04589a47a0dec09ba3 100644
|
| --- a/webrtc/modules/pacing/alr_detector.h
|
| +++ b/webrtc/modules/pacing/alr_detector.h
|
| @@ -20,6 +20,8 @@
|
|
|
| namespace webrtc {
|
|
|
| +class RtcEventLog;
|
| +
|
| // Application limited region detector is a class that utilizes signals of
|
| // elapsed time and bytes sent to estimate whether network traffic is
|
| // currently limited by the application's ability to generate traffic.
|
| @@ -30,6 +32,7 @@ namespace webrtc {
|
| class AlrDetector {
|
| public:
|
| AlrDetector();
|
| + explicit AlrDetector(RtcEventLog* event_log);
|
| ~AlrDetector();
|
|
|
| void OnBytesSent(size_t bytes_sent, int64_t delta_time_ms);
|
| @@ -72,6 +75,7 @@ class AlrDetector {
|
|
|
| IntervalBudget alr_budget_;
|
| rtc::Optional<int64_t> alr_started_time_ms_;
|
| + RtcEventLog* event_log_;
|
| };
|
|
|
| } // namespace webrtc
|
|
|