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

Unified Diff: webrtc/modules/pacing/alr_detector.h

Issue 2997883002: Video/Screenshare loopback tool.
Patch Set: Rebase Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « webrtc/modules/congestion_controller/send_side_congestion_controller.cc ('k') | webrtc/modules/pacing/alr_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698