summaryrefslogtreecommitdiff
path: root/chromium/net/third_party/quiche/src/quic/core/frames/quic_streams_blocked_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/third_party/quiche/src/quic/core/frames/quic_streams_blocked_frame.h')
-rw-r--r--chromium/net/third_party/quiche/src/quic/core/frames/quic_streams_blocked_frame.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/chromium/net/third_party/quiche/src/quic/core/frames/quic_streams_blocked_frame.h b/chromium/net/third_party/quiche/src/quic/core/frames/quic_streams_blocked_frame.h
deleted file mode 100644
index 2d738901776..00000000000
--- a/chromium/net/third_party/quiche/src/quic/core/frames/quic_streams_blocked_frame.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// 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.
-
-#ifndef QUICHE_QUIC_CORE_FRAMES_QUIC_STREAMS_BLOCKED_FRAME_H_
-#define QUICHE_QUIC_CORE_FRAMES_QUIC_STREAMS_BLOCKED_FRAME_H_
-
-#include <ostream>
-
-#include "quic/core/frames/quic_inlined_frame.h"
-#include "quic/core/quic_constants.h"
-#include "quic/core/quic_types.h"
-#include "quic/platform/api/quic_export.h"
-
-namespace quic {
-
-// IETF format STREAMS_BLOCKED frame.
-// The sender uses this to inform the peer that the sender wished to
-// open a new stream, exceeding the limit on the number of streams.
-struct QUIC_EXPORT_PRIVATE QuicStreamsBlockedFrame
- : public QuicInlinedFrame<QuicStreamsBlockedFrame> {
- QuicStreamsBlockedFrame();
- QuicStreamsBlockedFrame(QuicControlFrameId control_frame_id,
- QuicStreamCount stream_count,
- bool unidirectional);
-
- friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(
- std::ostream& os,
- const QuicStreamsBlockedFrame& frame);
-
- QuicFrameType type;
-
- // A unique identifier of this control frame. 0 when this frame is received,
- // and non-zero when sent.
- QuicControlFrameId control_frame_id = kInvalidControlFrameId;
-
- // The number of streams that the sender wishes to exceed
- QuicStreamCount stream_count = 0;
-
- // Whether uni- or bi-directional streams
- bool unidirectional = false;
-};
-
-} // namespace quic
-
-#endif // QUICHE_QUIC_CORE_FRAMES_QUIC_STREAMS_BLOCKED_FRAME_H_