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

Side by Side Diff: net/quic/core/quic_types.h

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 months 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/quic_stream_test.cc ('k') | net/quic/core/quic_utils.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_QUIC_TYPES_H_ 5 #ifndef NET_QUIC_CORE_QUIC_TYPES_H_
6 #define NET_QUIC_CORE_QUIC_TYPES_H_ 6 #define NET_QUIC_CORE_QUIC_TYPES_H_
7 7
8 #include <array> 8 #include <array>
9 #include <cstddef> 9 #include <cstddef>
10 #include <map> 10 #include <map>
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // IPv4 address changed, excluding /24 subnet change (port may have changed.) 254 // IPv4 address changed, excluding /24 subnet change (port may have changed.)
255 IPV4_TO_IPV4_CHANGE, 255 IPV4_TO_IPV4_CHANGE,
256 // IP address change from an IPv4 to an IPv6 address (port may have changed.) 256 // IP address change from an IPv4 to an IPv6 address (port may have changed.)
257 IPV4_TO_IPV6_CHANGE, 257 IPV4_TO_IPV6_CHANGE,
258 // IP address change from an IPv6 to an IPv4 address (port may have changed.) 258 // IP address change from an IPv6 to an IPv4 address (port may have changed.)
259 IPV6_TO_IPV4_CHANGE, 259 IPV6_TO_IPV4_CHANGE,
260 // IP address change from an IPv6 to an IPv6 address (port may have changed.) 260 // IP address change from an IPv6 to an IPv6 address (port may have changed.)
261 IPV6_TO_IPV6_CHANGE, 261 IPV6_TO_IPV6_CHANGE,
262 }; 262 };
263 263
264 enum StreamSendingState {
265 // Sender has more data to send on this stream.
266 NO_FIN,
267 // Sender is done sending on this stream.
268 FIN,
269 // Sender is done sending on this stream and random padding needs to be
270 // appended after all stream frames.
271 FIN_AND_PADDING,
272 };
273
264 } // namespace net 274 } // namespace net
265 275
266 #endif // NET_QUIC_CORE_QUIC_TYPES_H_ 276 #endif // NET_QUIC_CORE_QUIC_TYPES_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_stream_test.cc ('k') | net/quic/core/quic_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698