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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/bwe.h

Issue 2762963002: Make lint errors fatal in presubmit and fix files in whitelisted paths (Closed)
Patch Set: Make lint errors fatal in presubmit Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 }; 173 };
174 174
175 enum BandwidthEstimatorType { 175 enum BandwidthEstimatorType {
176 kNullEstimator, 176 kNullEstimator,
177 kNadaEstimator, 177 kNadaEstimator,
178 kRembEstimator, 178 kRembEstimator,
179 kSendSideEstimator, 179 kSendSideEstimator,
180 kTcpEstimator 180 kTcpEstimator
181 }; 181 };
182 182
183 const std::string bwe_names[] = {"Null", "NADA", "REMB", "GCC", "TCP"}; 183 const char* const bwe_names[] = {"Null", "NADA", "REMB", "GCC", "TCP"};
184 184
185 int64_t GetAbsSendTimeInMs(uint32_t abs_send_time); 185 int64_t GetAbsSendTimeInMs(uint32_t abs_send_time);
186 186
187 BweSender* CreateBweSender(BandwidthEstimatorType estimator, 187 BweSender* CreateBweSender(BandwidthEstimatorType estimator,
188 int kbps, 188 int kbps,
189 BitrateObserver* observer, 189 BitrateObserver* observer,
190 Clock* clock); 190 Clock* clock);
191 191
192 BweReceiver* CreateBweReceiver(BandwidthEstimatorType type, 192 BweReceiver* CreateBweReceiver(BandwidthEstimatorType type,
193 int flow_id, 193 int flow_id,
194 bool plot); 194 bool plot);
195 } // namespace bwe 195 } // namespace bwe
196 } // namespace testing 196 } // namespace testing
197 } // namespace webrtc 197 } // namespace webrtc
198 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ 198 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc ('k') | webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698