Enable cpplint for webrtc/modules/bitrate_controller and fix all uncovered cpplint errors.
This CL enableds cpplint for webrtc/modules/bitrate_controller. BUG=webrtc:5311 NOTRY=true TESTED=Fixed issues reported by: find webrtc/modules/bitrate_controller -type f -name *.cc -o -name *.h | xargs cpplint.py followed by 'git cl presubmit'. Review URL: https://codereview.webrtc.org/1620003003 Cr-Commit-Position: refs/heads/master@{#11363}
This commit is contained in:
@ -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',
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "webrtc/modules/bitrate_controller/bitrate_controller_impl.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <utility>
|
||||
|
||||
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||
|
@ -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 <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#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"
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#include "webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#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),
|
||||
|
@ -14,6 +14,8 @@
|
||||
#define WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_
|
||||
|
||||
#include <deque>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||
#include "webrtc/system_wrappers/include/critical_section_wrapper.h"
|
||||
|
Reference in New Issue
Block a user