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

Unified Diff: net/quic/quic_protocol.h

Issue 446063005: Move Quic AppendTimestampFrame method out of AppendCongestionFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index ec94e4c7e57cbf534756a95b8d59117e6b99afaa..16adbb7deb83777e6b3195eb5504a16ddaf5926e 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -700,7 +700,7 @@ void NET_EXPORT_PRIVATE InsertMissingPacketsBetween(
// compatibility.
enum CongestionFeedbackType {
kTCP, // Used to mimic TCP.
- kInterArrival, // Use additional inter arrival information.
+ kTimestamp, // Use additional inter arrival timestamp information.
};
// Defines for all types of congestion control algorithms that can be used in
@@ -724,9 +724,9 @@ struct NET_EXPORT_PRIVATE CongestionFeedbackMessageTCP {
QuicByteCount receive_window;
};
-struct NET_EXPORT_PRIVATE CongestionFeedbackMessageInterArrival {
- CongestionFeedbackMessageInterArrival();
- ~CongestionFeedbackMessageInterArrival();
+struct NET_EXPORT_PRIVATE CongestionFeedbackMessageTimestamp {
+ CongestionFeedbackMessageTimestamp();
+ ~CongestionFeedbackMessageTimestamp();
// The set of received packets since the last feedback was sent, along with
// their arrival times.
@@ -741,10 +741,10 @@ struct NET_EXPORT_PRIVATE QuicCongestionFeedbackFrame {
std::ostream& os, const QuicCongestionFeedbackFrame& c);
CongestionFeedbackType type;
- // This should really be a union, but since the inter arrival struct
+ // This should really be a union, but since the timestamp struct
// is non-trivial, C++ prohibits it.
CongestionFeedbackMessageTCP tcp;
- CongestionFeedbackMessageInterArrival inter_arrival;
+ CongestionFeedbackMessageTimestamp timestamp;
};
struct NET_EXPORT_PRIVATE QuicRstStreamFrame {
« no previous file with comments | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698