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

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: Moved include on top Created 3 years, 7 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/packet.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/packet.h b/webrtc/modules/remote_bitrate_estimator/test/packet.h
index c9680c6fcd20907f157afc1421e71349c70fcdb7..0750ac7e7fd746efeb63845247d0a217c9ce9179 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_;
philipel 2017/05/30 09:43:38 > >
gnish2 2017/05/30 15:13:22 Done.
+};
+
class RembFeedback : public FeedbackPacket {
public:
RembFeedback(int flow_id,

Powered by Google App Engine
This is Rietveld 408576698