OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 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 "net/quic/core/frames/quic_connection_close_frame.h" |
| 6 |
| 7 using std::ostream; |
| 8 |
| 9 namespace net { |
| 10 |
| 11 QuicConnectionCloseFrame::QuicConnectionCloseFrame() |
| 12 : error_code(QUIC_NO_ERROR) {} |
| 13 |
| 14 ostream& operator<<(std::ostream& os, |
| 15 const QuicConnectionCloseFrame& connection_close_frame) { |
| 16 os << "{ error_code: " << connection_close_frame.error_code |
| 17 << ", error_details: '" << connection_close_frame.error_details << "' }\n"; |
| 18 return os; |
| 19 } |
| 20 |
| 21 } // namespace net |
OLD | NEW |