| OLD | NEW |
| 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 |
| 11 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <list> | 14 #include <list> |
| 15 #include <sstream> | 15 #include <sstream> |
| 16 | 16 |
| 17 #include "webrtc/base/checks.h" | 17 #include "webrtc/base/checks.h" |
| 18 #include "webrtc/modules/interface/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
| 19 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" | 19 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" |
| 20 #include "webrtc/modules/remote_bitrate_estimator/test/metric_recorder.h" | 20 #include "webrtc/modules/remote_bitrate_estimator/test/metric_recorder.h" |
| 21 | 21 |
| 22 namespace webrtc { | 22 namespace webrtc { |
| 23 namespace testing { | 23 namespace testing { |
| 24 namespace bwe { | 24 namespace bwe { |
| 25 | 25 |
| 26 void PacketSender::Pause() { | 26 void PacketSender::Pause() { |
| 27 running_ = false; | 27 running_ = false; |
| 28 if (metric_recorder_ != nullptr) { | 28 if (metric_recorder_ != nullptr) { |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 RecordBitrate(); | 485 RecordBitrate(); |
| 486 } | 486 } |
| 487 | 487 |
| 488 uint32_t TcpSender::TargetBitrateKbps() { | 488 uint32_t TcpSender::TargetBitrateKbps() { |
| 489 return bitrate_kbps_; | 489 return bitrate_kbps_; |
| 490 } | 490 } |
| 491 | 491 |
| 492 } // namespace bwe | 492 } // namespace bwe |
| 493 } // namespace testing | 493 } // namespace testing |
| 494 } // namespace webrtc | 494 } // namespace webrtc |
| OLD | NEW |