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 "quiche/quic/core/frames/quic_ping_frame.h" 6 7 namespace quic { 8 QuicPingFrame()9QuicPingFrame::QuicPingFrame() : QuicInlinedFrame(PING_FRAME) {} 10 QuicPingFrame(QuicControlFrameId control_frame_id)11QuicPingFrame::QuicPingFrame(QuicControlFrameId control_frame_id) 12 : QuicInlinedFrame(PING_FRAME), control_frame_id(control_frame_id) {} 13 operator <<(std::ostream & os,const QuicPingFrame & ping_frame)14std::ostream& operator<<(std::ostream& os, const QuicPingFrame& ping_frame) { 15 os << "{ control_frame_id: " << ping_frame.control_frame_id << " }\n"; 16 return os; 17 } 18 19 } // namespace quic 20