| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ | 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ |
| 6 #define NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ | 6 #define NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ |
| 7 | 7 |
| 8 #include <ostream> | 8 #include <ostream> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "net/base/net_export.h" | |
| 12 #include "net/quic/core/quic_error_codes.h" | 11 #include "net/quic/core/quic_error_codes.h" |
| 12 #include "net/quic/platform/api/quic_export.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 struct NET_EXPORT_PRIVATE QuicConnectionCloseFrame { | 16 struct QUIC_EXPORT_PRIVATE QuicConnectionCloseFrame { |
| 17 QuicConnectionCloseFrame(); | 17 QuicConnectionCloseFrame(); |
| 18 | 18 |
| 19 friend NET_EXPORT_PRIVATE std::ostream& operator<<( | 19 friend QUIC_EXPORT_PRIVATE std::ostream& operator<<( |
| 20 std::ostream& os, | 20 std::ostream& os, |
| 21 const QuicConnectionCloseFrame& c); | 21 const QuicConnectionCloseFrame& c); |
| 22 | 22 |
| 23 QuicErrorCode error_code; | 23 QuicErrorCode error_code; |
| 24 std::string error_details; | 24 std::string error_details; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace net | 27 } // namespace net |
| 28 | 28 |
| 29 #endif // NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ | 29 #endif // NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_ |
| OLD | NEW |