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/hash_tables.h" | 18 #include "base/hash_tables.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/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/net_export.h" | 22 #include "net/base/net_export.h" |
23 #include "net/quic/quic_bandwidth.h" | 23 #include "net/quic/quic_bandwidth.h" |
24 #include "net/quic/quic_time.h" | 24 #include "net/quic/quic_time.h" |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 | 27 |
28 using ::operator<<; | 28 using ::operator<<; |
29 | 29 |
30 class QuicPacket; | 30 class QuicPacket; |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 NET_EXPORT_PRIVATE friend std::ostream& operator<<( | 656 NET_EXPORT_PRIVATE friend std::ostream& operator<<( |
657 std::ostream& os, const QuicConsumedData& s); | 657 std::ostream& os, const QuicConsumedData& s); |
658 | 658 |
659 size_t bytes_consumed; | 659 size_t bytes_consumed; |
660 bool fin_consumed; | 660 bool fin_consumed; |
661 }; | 661 }; |
662 | 662 |
663 } // namespace net | 663 } // namespace net |
664 | 664 |
665 #endif // NET_QUIC_QUIC_PROTOCOL_H_ | 665 #endif // NET_QUIC_QUIC_PROTOCOL_H_ |
OLD | NEW |