| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_QUIC_PROTOCOL_H_ | 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ |
| 6 #define NET_QUIC_QUIC_PROTOCOL_H_ | 6 #define NET_QUIC_QUIC_PROTOCOL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <limits> | 9 #include <limits> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <ostream> | 11 #include <ostream> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
| 18 #include "base/containers/hash_tables.h" | 18 #include "base/containers/hash_tables.h" |
| 19 #include "base/logging.h" | 19 #include "base/logging.h" |
| 20 #include "base/strings/string_piece.h" | 20 #include "base/strings/string_piece.h" |
| 21 #include "net/base/int128.h" | 21 #include "net/base/int128.h" |
| 22 #include "net/base/ip_endpoint.h" | 22 #include "net/base/ip_endpoint.h" |
| 23 #include "net/base/net_export.h" | 23 #include "net/base/net_export.h" |
| 24 #include "net/quic/iovector.h" | 24 #include "net/quic/iovector.h" |
| 25 #include "net/quic/quic_bandwidth.h" | 25 #include "net/quic/quic_bandwidth.h" |
| 26 #include "net/quic/quic_time.h" | 26 #include "net/quic/quic_time.h" |
| 27 | 27 |
| 28 namespace net { | 28 namespace net { |
| 29 | 29 |
| 30 using ::operator<<; | |
| 31 | |
| 32 class QuicAckNotifier; | 30 class QuicAckNotifier; |
| 33 class QuicPacket; | 31 class QuicPacket; |
| 34 struct QuicPacketHeader; | 32 struct QuicPacketHeader; |
| 35 | 33 |
| 36 typedef uint64 QuicConnectionId; | 34 typedef uint64 QuicConnectionId; |
| 37 typedef uint32 QuicStreamId; | 35 typedef uint32 QuicStreamId; |
| 38 typedef uint64 QuicStreamOffset; | 36 typedef uint64 QuicStreamOffset; |
| 39 typedef uint64 QuicPacketSequenceNumber; | 37 typedef uint64 QuicPacketSequenceNumber; |
| 40 typedef QuicPacketSequenceNumber QuicFecGroupNumber; | 38 typedef QuicPacketSequenceNumber QuicFecGroupNumber; |
| 41 typedef uint64 QuicPublicResetNonceProof; | 39 typedef uint64 QuicPublicResetNonceProof; |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 // Stores the sequence numbers of all transmissions of this packet. | 1063 // Stores the sequence numbers of all transmissions of this packet. |
| 1066 // Can never be null. | 1064 // Can never be null. |
| 1067 SequenceNumberSet* all_transmissions; | 1065 SequenceNumberSet* all_transmissions; |
| 1068 // In flight packets have not been abandoned or lost. | 1066 // In flight packets have not been abandoned or lost. |
| 1069 bool in_flight; | 1067 bool in_flight; |
| 1070 }; | 1068 }; |
| 1071 | 1069 |
| 1072 } // namespace net | 1070 } // namespace net |
| 1073 | 1071 |
| 1074 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 1072 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
| OLD | NEW |