| // Copyright (c) 2016 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 "net/third_party/quiche/src/quic/core/frames/quic_blocked_frame.h" |
| #include "net/third_party/quiche/src/quic/core/quic_constants.h" |
| QuicBlockedFrame::QuicBlockedFrame() |
| : control_frame_id(kInvalidControlFrameId), stream_id(0), offset(0) {} |
| QuicBlockedFrame::QuicBlockedFrame(QuicControlFrameId control_frame_id, |
| : control_frame_id(control_frame_id), stream_id(stream_id), offset(0) {} |
| QuicBlockedFrame::QuicBlockedFrame(QuicControlFrameId control_frame_id, |
| : control_frame_id(control_frame_id), |
| std::ostream& operator<<(std::ostream& os, |
| const QuicBlockedFrame& blocked_frame) { |
| os << "{ control_frame_id: " << blocked_frame.control_frame_id |
| << ", stream_id: " << blocked_frame.stream_id << " }\n"; |