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

Side by Side Diff: net/quic/core/frames/quic_path_close_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
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_PATH_CLOSE_FRAME_H_
6 #define NET_QUIC_CORE_FRAMES_QUIC_PATH_CLOSE_FRAME_H_
7
8 #include "net/base/net_export.h"
9 #include "net/quic/core/quic_types.h"
10
11 namespace net {
12
13 // The PATH_CLOSE frame is used to explicitly close a path. Both endpoints can
14 // send a PATH_CLOSE frame to initiate a path termination. A path is considered
15 // to be closed either a PATH_CLOSE frame is sent or received. An endpoint drops
16 // receive side of a closed path, and packets with retransmittable frames on a
17 // closed path are marked as retransmissions which will be transmitted on other
18 // paths.
19 struct NET_EXPORT_PRIVATE QuicPathCloseFrame {
20 QuicPathCloseFrame() {}
21 explicit QuicPathCloseFrame(QuicPathId path_id);
22
23 friend NET_EXPORT_PRIVATE std::ostream& operator<<(
24 std::ostream& os,
25 const QuicPathCloseFrame& p);
26
27 QuicPathId path_id;
28 };
29
30 } // namespace net
31
32 #endif // NET_QUIC_CORE_QUIC_FRAMES_H_
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_padding_frame.cc ('k') | net/quic/core/frames/quic_path_close_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698