blob: 064d9170303f182dac64f469774c0a62fa480356 [file] [log] [blame]
// Copyright (c) 2017 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_ping_frame.h"
namespace quic {
QuicPingFrame::QuicPingFrame() : QuicInlinedFrame(PING_FRAME) {}
QuicPingFrame::QuicPingFrame(QuicControlFrameId control_frame_id)
: QuicInlinedFrame(PING_FRAME), control_frame_id(control_frame_id) {}
std::ostream& operator<<(std::ostream& os, const QuicPingFrame& ping_frame) {
os << "{ control_frame_id: " << ping_frame.control_frame_id << " }\n";
return os;
}
} // namespace quic