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 #ifndef NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ |
| 6 #define NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ |
| 7 |
| 8 #include <ostream> |
| 9 #include <string> |
| 10 |
| 11 #include "net/base/net_export.h" |
| 12 #include "net/quic/core/quic_error_codes.h" |
| 13 |
| 14 namespace net { |
| 15 |
| 16 struct NET_EXPORT_PRIVATE QuicConnectionCloseFrame { |
| 17 QuicConnectionCloseFrame(); |
| 18 |
| 19 friend NET_EXPORT_PRIVATE std::ostream& operator<<( |
| 20 std::ostream& os, |
| 21 const QuicConnectionCloseFrame& c); |
| 22 |
| 23 QuicErrorCode error_code; |
| 24 std::string error_details; |
| 25 }; |
| 26 |
| 27 } // namespace net |
| 28 |
| 29 #endif // NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ |
OLD | NEW |