Index: webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
index baf8857559dac6617019ef8cf121f7a0f524560e..7ffb42cb5433b0bf5ae46a30d4cd6f608fb605da 100644 |
--- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
+++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h |
@@ -19,6 +19,9 @@ |
#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
namespace webrtc { |
+ |
+class RtcEventLog; |
+ |
class SendSideBandwidthEstimation { |
public: |
SendSideBandwidthEstimation(); |
@@ -42,6 +45,8 @@ class SendSideBandwidthEstimation { |
void SetMinMaxBitrate(int min_bitrate, int max_bitrate); |
int GetMinBitrate() const; |
+ void SetEventLog(RtcEventLog* event_log); |
+ |
private: |
enum UmaState { kNoUpdate, kFirstDone, kDone }; |
@@ -81,6 +86,7 @@ class SendSideBandwidthEstimation { |
int bitrate_at_2_seconds_kbps_; |
UmaState uma_update_state_; |
std::vector<bool> rampup_uma_stats_updated_; |
+ RtcEventLog* event_log_; |
}; |
} // namespace webrtc |
#endif // WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ |