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

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

Issue 2684613002: Delete webrtc/base/common.h (Closed)
Patch Set: Added TODO comment. Created 3 years, 10 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 void LogStats(); 244 void LogStats();
245 Stats<double> GetBitrateStats() const; 245 Stats<double> GetBitrateStats() const;
246 virtual void Plot(int64_t timestamp_ms); 246 virtual void Plot(int64_t timestamp_ms);
247 virtual void RunFor(int64_t time_ms, Packets* in_out); 247 virtual void RunFor(int64_t time_ms, Packets* in_out);
248 248
249 private: 249 private:
250 Stats<double> packets_per_second_stats_; 250 Stats<double> packets_per_second_stats_;
251 Stats<double> kbps_stats_; 251 Stats<double> kbps_stats_;
252 int64_t start_plotting_time_ms_; 252 int64_t start_plotting_time_ms_;
253 int flow_id_; 253 #if BWE_TEST_LOGGING_COMPILE_TIME_ENABLE
254 int flow_id_ = 0;
255 #endif
254 std::string name_; 256 std::string name_;
255 // Algorithm name if single flow, Total link utilization if all flows. 257 // Algorithm name if single flow, Total link utilization if all flows.
256 std::string algorithm_name_; 258 std::string algorithm_name_;
257 259
258 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter); 260 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter);
259 }; 261 };
260 262
261 class LossFilter : public PacketProcessor { 263 class LossFilter : public PacketProcessor {
262 public: 264 public:
263 LossFilter(PacketProcessorListener* listener, int flow_id); 265 LossFilter(PacketProcessorListener* listener, int flow_id);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 uint32_t frame_counter_; 465 uint32_t frame_counter_;
464 int compensation_bytes_; 466 int compensation_bytes_;
465 int compensation_per_frame_; 467 int compensation_per_frame_;
466 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource); 468 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource);
467 }; 469 };
468 } // namespace bwe 470 } // namespace bwe
469 } // namespace testing 471 } // namespace testing
470 } // namespace webrtc 472 } // namespace webrtc
471 473
472 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_ 474 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_
OLDNEW
« no previous file with comments | « webrtc/base/opensslstreamadapter.cc ('k') | webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698