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

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

Issue 14223008: net: Update the include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_crypto_stream.cc ('k') | net/quic/quic_data_writer.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_DATA_READER_H_ 5 #ifndef NET_QUIC_QUIC_DATA_READER_H_
6 #define NET_QUIC_QUIC_DATA_READER_H_ 6 #define NET_QUIC_QUIC_DATA_READER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/string_piece.h" 9 #include "base/strings/string_piece.h"
10 #include "net/base/int128.h" 10 #include "net/base/int128.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 // Used for reading QUIC data. Though there isn't really anything terribly 15 // Used for reading QUIC data. Though there isn't really anything terribly
16 // QUIC-specific here, it's a helper class that's useful when doing QUIC 16 // QUIC-specific here, it's a helper class that's useful when doing QUIC
17 // framing. 17 // framing.
18 // 18 //
19 // To use, simply construct a QuicDataReader using the underlying buffer that 19 // To use, simply construct a QuicDataReader using the underlying buffer that
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // The length of the data buffer that we're reading from. 117 // The length of the data buffer that we're reading from.
118 const size_t len_; 118 const size_t len_;
119 119
120 // The location of the next read from our data buffer. 120 // The location of the next read from our data buffer.
121 size_t pos_; 121 size_t pos_;
122 }; 122 };
123 123
124 } // namespace net 124 } // namespace net
125 125
126 #endif // NET_QUIC_QUIC_DATA_READER_H_ 126 #endif // NET_QUIC_QUIC_DATA_READER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_stream.cc ('k') | net/quic/quic_data_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698