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

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

Issue 2566703002: Various formatting cleanups to net/quic/core/frames (Closed)
Patch Set: Fix 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_stream_frame.h ('k') | no next file » | 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_WINDOW_UPDATE_FRAME_H_ 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_WINDOW_UPDATE_FRAME_H_
6 #define NET_QUIC_CORE_FRAMES_QUIC_WINDOW_UPDATE_FRAME_H_ 6 #define NET_QUIC_CORE_FRAMES_QUIC_WINDOW_UPDATE_FRAME_H_
7 7
8 #include <ostream>
9
8 #include "net/quic/core/quic_types.h" 10 #include "net/quic/core/quic_types.h"
9 #include "net/quic/platform/api/quic_export.h" 11 #include "net/quic/platform/api/quic_export.h"
10 12
11 namespace net { 13 namespace net {
12 14
13 // Flow control updates per-stream and at the connection levoel. 15 // Flow control updates per-stream and at the connection levoel.
14 // Based on SPDY's WINDOW_UPDATE frame, but uses an absolute byte offset rather 16 // Based on SPDY's WINDOW_UPDATE frame, but uses an absolute byte offset rather
15 // than a window delta. 17 // than a window delta.
16 // TODO(rjshade): A possible future optimization is to make stream_id and 18 // TODO(rjshade): A possible future optimization is to make stream_id and
17 // byte_offset variable length, similar to stream frames. 19 // byte_offset variable length, similar to stream frames.
(...skipping 10 matching lines...) Expand all
28 QuicStreamId stream_id; 30 QuicStreamId stream_id;
29 31
30 // Byte offset in the stream or connection. The receiver of this frame must 32 // Byte offset in the stream or connection. The receiver of this frame must
31 // not send data which would result in this offset being exceeded. 33 // not send data which would result in this offset being exceeded.
32 QuicStreamOffset byte_offset; 34 QuicStreamOffset byte_offset;
33 }; 35 };
34 36
35 } // namespace net 37 } // namespace net
36 38
37 #endif // NET_QUIC_CORE_FRAMES_QUIC_WINDOW_UPDATE_FRAME_H_ 39 #endif // NET_QUIC_CORE_FRAMES_QUIC_WINDOW_UPDATE_FRAME_H_
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_stream_frame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698