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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/abs_send_time.h

Issue 2431093003: Fix BWE simulations so that it uses the delay based BWE. (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/test/estimators/abs_send_time.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/abs_send_time.h
similarity index 80%
copy from webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h
copy to webrtc/modules/remote_bitrate_estimator/test/estimators/abs_send_time.h
index aa7914ef1a2344e114484e180d00078500ba4e98..a6ff6463aab421018534c2b6e60a7035f2720479 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/abs_send_time.h
@@ -8,13 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_
-#define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_
+#ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_ABS_SEND_TIME_H_
+#define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_ABS_SEND_TIME_H_
#include <memory>
#include <vector>
-#include "webrtc/call/mock/mock_rtc_event_log.h"
+#include "webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h"
#include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h"
#include "webrtc/modules/remote_bitrate_estimator/test/bwe.h"
@@ -22,10 +22,10 @@ namespace webrtc {
namespace testing {
namespace bwe {
-class FullBweSender : public BweSender, public RemoteBitrateObserver {
+class AbsSendTimeBweSender : public BweSender, public RemoteBitrateObserver {
public:
- FullBweSender(int kbps, BitrateObserver* observer, Clock* clock);
- virtual ~FullBweSender();
+ AbsSendTimeBweSender(int kbps, BitrateObserver* observer, Clock* clock);
+ virtual ~AbsSendTimeBweSender();
int GetFeedbackIntervalMs() const override;
void GiveFeedback(const FeedbackPacket& feedback) override;
@@ -50,13 +50,13 @@ class FullBweSender : public BweSender, public RemoteBitrateObserver {
SequenceNumberUnwrapper seq_num_unwrapper_;
::testing::NiceMock<MockRtcEventLog> event_log_;
- RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FullBweSender);
+ RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AbsSendTimeBweSender);
};
-class SendSideBweReceiver : public BweReceiver {
+class AbsSendTimeBweReceiver : public BweReceiver {
public:
- explicit SendSideBweReceiver(int flow_id);
- virtual ~SendSideBweReceiver();
+ explicit AbsSendTimeBweReceiver(int flow_id);
+ virtual ~AbsSendTimeBweReceiver();
void ReceivePacket(int64_t arrival_time_ms,
const MediaPacket& media_packet) override;
@@ -71,4 +71,4 @@ class SendSideBweReceiver : public BweReceiver {
} // namespace testing
} // namespace webrtc
-#endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_
+#endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_ABS_SEND_TIME_H_

Powered by Google App Engine
This is Rietveld 408576698