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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/packet.h

Issue 2904183002: Structure of BBR's implementation,some main classes and functions which are going to be used (Closed)
Patch Set: Added header files to build file Created 3 years, 6 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
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/test/packet.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/packet.h b/webrtc/modules/remote_bitrate_estimator/test/packet.h
index c9680c6fcd20907f157afc1421e71349c70fcdb7..223a50ba8fa0a413e70322b464ca73553e528609 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/packet.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/packet.h
@@ -13,6 +13,7 @@
#include <list>
#include <map>
+#include <utility>
#include <vector>
#include "webrtc/common_types.h"
@@ -108,6 +109,24 @@ class FeedbackPacket : public Packet {
int64_t latest_send_time_ms_; // Time stamp for the latest sent FbPacket.
};
+class BbrBweFeedback : public FeedbackPacket {
+ public:
+ BbrBweFeedback(
+ int flow_id,
+ int64_t send_time_us,
+ int64_t latest_send_time_ms,
+ const std::vector<std::pair<uint64_t, int64_t>>& packet_feedback_vector);
+ virtual ~BbrBweFeedback() {}
+
+ const std::vector<std::pair<uint64_t, int64_t>>& packet_feedback_vector()
+ const {
+ return packet_feedback_vector_;
+ }
+
+ private:
+ const std::vector<std::pair<uint64_t, int64_t>> packet_feedback_vector_;
+};
+
class RembFeedback : public FeedbackPacket {
public:
RembFeedback(int flow_id,
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698