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

Unified Diff: net/quic/quic_protocol.h

Issue 1979763002: Landing Recent QUIC changes until Sun May 8 00:39:29 2016 +0000 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « net/quic/quic_packet_generator.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 da3eef96d650f07a4a340ff7f4c51ddfdfd72d5c..6cdb496aaabc058b192015b05e404715c3e72b3e 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -780,6 +780,9 @@ struct NET_EXPORT_PRIVATE QuicPaddingFrame {
explicit QuicPaddingFrame(int num_padding_bytes)
: num_padding_bytes(num_padding_bytes) {}
+ NET_EXPORT_PRIVATE friend std::ostream& operator<<(std::ostream& os,
+ const QuicPaddingFrame& s);
+
// -1: full padding to the end of a max-sized packet
// otherwise: only pad up to num_padding_bytes bytes
int num_padding_bytes;
@@ -846,7 +849,7 @@ struct NET_EXPORT_PRIVATE QuicStreamFrame {
QuicStreamFrame(QuicStreamId stream_id,
bool fin,
QuicStreamOffset offset,
- QuicPacketLength frame_length,
+ QuicPacketLength data_length,
UniqueStreamBuffer buffer);
~QuicStreamFrame();
@@ -855,8 +858,8 @@ struct NET_EXPORT_PRIVATE QuicStreamFrame {
QuicStreamId stream_id;
bool fin;
- QuicPacketLength frame_length;
- const char* frame_buffer;
+ QuicPacketLength data_length;
+ const char* data_buffer;
QuicStreamOffset offset; // Location of this data in the stream.
// nullptr when the QuicStreamFrame is received, and non-null when sent.
UniqueStreamBuffer buffer;
@@ -865,8 +868,8 @@ struct NET_EXPORT_PRIVATE QuicStreamFrame {
QuicStreamFrame(QuicStreamId stream_id,
bool fin,
QuicStreamOffset offset,
- const char* frame_buffer,
- QuicPacketLength frame_length,
+ const char* data_buffer,
+ QuicPacketLength data_length,
UniqueStreamBuffer buffer);
DISALLOW_COPY_AND_ASSIGN(QuicStreamFrame);
@@ -1403,6 +1406,7 @@ struct NET_EXPORT_PRIVATE SerializedPacket {
QuicPacketEntropyHash entropy_hash;
bool has_ack;
bool has_stop_waiting;
+ QuicPathId original_path_id;
QuicPacketNumber original_packet_number;
TransmissionType transmission_type;
« no previous file with comments | « net/quic/quic_packet_generator.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698