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

Side by Side Diff: net/quic/quic_protocol.h

Issue 11299023: Add real support for uint128. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more try Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_data_writer.cc ('k') | net/quic/quic_utils.h » ('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 (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 <limits> 8 #include <limits>
9 #include <ostream> 9 #include <ostream>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/hash_tables.h" 14 #include "base/hash_tables.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/string_piece.h" 16 #include "base/string_piece.h"
17 #include "net/base/int128.h"
17 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
18 #include "net/quic/quic_time.h" 19 #include "net/quic/quic_time.h"
19 #include "net/quic/uint128.h"
20 20
21 namespace net { 21 namespace net {
22 22
23 class QuicPacket; 23 class QuicPacket;
24 24
25 typedef uint64 QuicGuid; 25 typedef uint64 QuicGuid;
26 typedef uint32 QuicStreamId; 26 typedef uint32 QuicStreamId;
27 typedef uint64 QuicStreamOffset; 27 typedef uint64 QuicStreamOffset;
28 typedef uint64 QuicPacketSequenceNumber; 28 typedef uint64 QuicPacketSequenceNumber;
29 typedef uint8 QuicFecGroupNumber; 29 typedef uint8 QuicFecGroupNumber;
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 return base::StringPiece(data() + kStartOfHashData, kStartOfEncryptedData); 398 return base::StringPiece(data() + kStartOfHashData, kStartOfEncryptedData);
399 } 399 }
400 400
401 private: 401 private:
402 DISALLOW_COPY_AND_ASSIGN(QuicEncryptedPacket); 402 DISALLOW_COPY_AND_ASSIGN(QuicEncryptedPacket);
403 }; 403 };
404 404
405 } // namespace net 405 } // namespace net
406 406
407 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 407 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_data_writer.cc ('k') | net/quic/quic_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698