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()9QuicHandshakeDoneFrame::QuicHandshakeDoneFrame() 10 : QuicInlinedFrame(HANDSHAKE_DONE_FRAME) {} 11 QuicHandshakeDoneFrame(QuicControlFrameId control_frame_id)12QuicHandshakeDoneFrame::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)17std::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