blob: d4e6daa71141946292aa22a0c6c737afc42497a9 [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 "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