xref: /aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright (c) 2020 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_handshake_done_frame.h"
6 
7 namespace quic {
8 
QuicHandshakeDoneFrame()9 QuicHandshakeDoneFrame::QuicHandshakeDoneFrame()
10     : QuicInlinedFrame(HANDSHAKE_DONE_FRAME) {}
11 
QuicHandshakeDoneFrame(QuicControlFrameId control_frame_id)12 QuicHandshakeDoneFrame::QuicHandshakeDoneFrame(
13     QuicControlFrameId control_frame_id)
14     : QuicInlinedFrame(HANDSHAKE_DONE_FRAME),
15       control_frame_id(control_frame_id) {}
16 
operator <<(std::ostream & os,const QuicHandshakeDoneFrame & handshake_done_frame)17 std::ostream& operator<<(std::ostream& os,
18                          const QuicHandshakeDoneFrame& handshake_done_frame) {
19   os << "{ control_frame_id: " << handshake_done_frame.control_frame_id
20      << " }\n";
21   return os;
22 }
23 
24 }  // namespace quic
25