summaryrefslogtreecommitdiff
path: root/chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h')
-rw-r--r--chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h b/chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h
index e953ad8aa52..cdb0ba89e7c 100644
--- a/chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h
+++ b/chromium/net/third_party/quiche/src/quic/core/frames/quic_path_response_frame.h
@@ -8,15 +8,13 @@
#include <memory>
#include <ostream>
+#include "net/third_party/quiche/src/quic/core/quic_constants.h"
#include "net/third_party/quiche/src/quic/core/quic_types.h"
namespace quic {
-// Size of the entire IETF Quic Path Response frame.
-const size_t kQuicPathResponseFrameSize = kQuicPathFrameBufferSize;
-
struct QUIC_EXPORT_PRIVATE QuicPathResponseFrame {
- QuicPathResponseFrame();
+ QuicPathResponseFrame() = default;
QuicPathResponseFrame(QuicControlFrameId control_frame_id,
const QuicPathFrameBuffer& data_buff);
~QuicPathResponseFrame();
@@ -27,7 +25,7 @@ struct QUIC_EXPORT_PRIVATE QuicPathResponseFrame {
// A unique identifier of this control frame. 0 when this frame is received,
// and non-zero when sent.
- QuicControlFrameId control_frame_id;
+ QuicControlFrameId control_frame_id = kInvalidControlFrameId;
QuicPathFrameBuffer data_buffer;
};