diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-05-17 17:24:03 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-06-22 07:51:41 +0000 |
commit | 774f54339e5db91f785733232d3950366db65d07 (patch) | |
tree | 068e1b47bd1af94d77094ed12b604a6b83d9c22a /chromium/net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc | |
parent | f7eaed5286974984ba5f9e3189d8f49d03e99f81 (diff) | |
download | qtwebengine-chromium-774f54339e5db91f785733232d3950366db65d07.tar.gz |
BASELINE: Update Chromium to 102.0.5005.57
Change-Id: I885f714bb40ee724c28f94ca6bd8dbdb39915158
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc')
-rw-r--r-- | chromium/net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chromium/net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc b/chromium/net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc new file mode 100644 index 00000000000..594224b2fe0 --- /dev/null +++ b/chromium/net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc @@ -0,0 +1,28 @@ +// Copyright (c) 2019 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "quiche/quic/core/frames/quic_max_streams_frame.h" + +namespace quic { + +QuicMaxStreamsFrame::QuicMaxStreamsFrame() + : QuicInlinedFrame(MAX_STREAMS_FRAME) {} + +QuicMaxStreamsFrame::QuicMaxStreamsFrame(QuicControlFrameId control_frame_id, + QuicStreamCount stream_count, + bool unidirectional) + : QuicInlinedFrame(MAX_STREAMS_FRAME), + control_frame_id(control_frame_id), + stream_count(stream_count), + unidirectional(unidirectional) {} + +std::ostream& operator<<(std::ostream& os, const QuicMaxStreamsFrame& frame) { + os << "{ control_frame_id: " << frame.control_frame_id + << ", stream_count: " << frame.stream_count + << ((frame.unidirectional) ? ", unidirectional }\n" + : ", bidirectional }\n"); + return os; +} + +} // namespace quic |