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

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

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage 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_frame_test.cc ('k') | net/quic/core/frames/quic_goaway_frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_GOAWAY_FRAME_H_
6 #define NET_QUIC_CORE_FRAMES_QUIC_GOAWAY_FRAME_H_
7
8 #include <string>
9
10 #include "net/base/net_export.h"
11 #include "net/quic/core/quic_error_codes.h"
12 #include "net/quic/core/quic_types.h"
13
14 namespace net {
15
16 struct NET_EXPORT_PRIVATE QuicGoAwayFrame {
17 QuicGoAwayFrame();
18 QuicGoAwayFrame(QuicErrorCode error_code,
19 QuicStreamId last_good_stream_id,
20 const std::string& reason);
21
22 friend NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
23 const QuicGoAwayFrame& g);
24
25 QuicErrorCode error_code;
26 QuicStreamId last_good_stream_id;
27 std::string reason_phrase;
28 };
29
30 } // namespace net
31
32 #endif // NET_QUIC_CORE_FRAMES_QUIC_GOAWAY_FRAME_H_
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_frame_test.cc ('k') | net/quic/core/frames/quic_goaway_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698