Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: net/quic/core/frames/quic_connection_close_frame.h

Issue 2561893002: Add QUIC_EXPORT macros (Closed)
Patch Set: More Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/frames/quic_blocked_frame.h ('k') | net/quic/core/frames/quic_frame.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_blocked_frame.h ('k') | net/quic/core/frames/quic_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698