QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "net/third_party/quiche/src/quic/core/frames/quic_ping_frame.h" |
| 6 | |
| 7 | namespace quic { |
| 8 | |
| 9 | QuicPingFrame::QuicPingFrame() |
| 10 | : QuicInlinedFrame(PING_FRAME), control_frame_id(kInvalidControlFrameId) {} |
| 11 | |
| 12 | QuicPingFrame::QuicPingFrame(QuicControlFrameId control_frame_id) |
| 13 | : QuicInlinedFrame(PING_FRAME), control_frame_id(control_frame_id) {} |
| 14 | |
| 15 | std::ostream& operator<<(std::ostream& os, const QuicPingFrame& ping_frame) { |
| 16 | os << "{ control_frame_id: " << ping_frame.control_frame_id << " }\n"; |
| 17 | return os; |
| 18 | } |
| 19 | |
| 20 | } // namespace quic |