diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 08dd68dd74..3fb3ed170e 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -20,6 +20,7 @@ CPPLINT_DIRS = [ 'webrtc/call', 'webrtc/common_video', 'webrtc/examples', + 'webrtc/modules/bitrate_controller', 'webrtc/modules/remote_bitrate_estimator', 'webrtc/modules/rtp_rtcp', 'webrtc/modules/video_coding', diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc b/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc index da51c6ff53..72a5ff510d 100644 --- a/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc +++ b/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc @@ -12,6 +12,7 @@ #include "webrtc/modules/bitrate_controller/bitrate_controller_impl.h" #include +#include #include #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc b/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc index fd9636a88d..3f467ef8a4 100644 --- a/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc +++ b/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc @@ -8,11 +8,11 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "testing/gtest/include/gtest/gtest.h" - #include #include +#include "testing/gtest/include/gtest/gtest.h" + #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc index 1fb4e56825..bdd980db43 100644 --- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc +++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc @@ -10,6 +10,7 @@ #include "webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h" +#include #include #include "webrtc/base/checks.h" @@ -41,7 +42,7 @@ const UmaRampUpMetric kUmaRampupMetrics[] = { const size_t kNumUmaRampupMetrics = sizeof(kUmaRampupMetrics) / sizeof(kUmaRampupMetrics[0]); -} +} // namespace SendSideBandwidthEstimation::SendSideBandwidthEstimation() : lost_packets_since_last_loss_update_Q8_(0), diff --git a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h index 608a5e738d..15894f9395 100644 --- a/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h +++ b/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h @@ -14,6 +14,8 @@ #define WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_ #include +#include +#include #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/system_wrappers/include/critical_section_wrapper.h"