| 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 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_PACKET_SENDER_H_ | 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_PACKET_SENDER_H_ |
| 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_PACKET_SENDER_H_ | 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_PACKET_SENDER_H_ |
| 13 | 13 |
| 14 #include <list> | 14 #include <list> |
| 15 #include <limits> | 15 #include <limits> |
| 16 #include <string> | 16 #include <string> |
| 17 | 17 |
| 18 #include "webrtc/base/constructormagic.h" | 18 #include "webrtc/base/constructormagic.h" |
| 19 #include "webrtc/base/scoped_ptr.h" | 19 #include "webrtc/base/scoped_ptr.h" |
| 20 #include "webrtc/modules/interface/module.h" | 20 #include "webrtc/modules/include/module.h" |
| 21 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" | 21 #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" |
| 22 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" | 22 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 namespace testing { | 25 namespace testing { |
| 26 namespace bwe { | 26 namespace bwe { |
| 27 | 27 |
| 28 class MetricRecorder; | 28 class MetricRecorder; |
| 29 | 29 |
| 30 class PacketSender : public PacketProcessor { | 30 class PacketSender : public PacketProcessor { |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 int total_sent_bytes_; | 185 int total_sent_bytes_; |
| 186 int send_limit_bytes_; // Initialized by default as kNoLimit. | 186 int send_limit_bytes_; // Initialized by default as kNoLimit. |
| 187 int64_t last_generated_packets_ms_; | 187 int64_t last_generated_packets_ms_; |
| 188 size_t num_recent_sent_packets_; | 188 size_t num_recent_sent_packets_; |
| 189 uint32_t bitrate_kbps_; | 189 uint32_t bitrate_kbps_; |
| 190 }; | 190 }; |
| 191 } // namespace bwe | 191 } // namespace bwe |
| 192 } // namespace testing | 192 } // namespace testing |
| 193 } // namespace webrtc | 193 } // namespace webrtc |
| 194 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_PACKET_SENDER_H_ | 194 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_PACKET_SENDER_H_ |
| OLD | NEW |