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

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

Issue 1181713004: Remove base/port.h includes that are not necessary anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win build Created 5 years, 6 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 | « media/formats/mp2t/timestamp_unroller_unittest.cc ('k') | net/tools/balsa/balsa_frame.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_WRITER_H_ 5 #ifndef NET_QUIC_QUIC_DATA_WRITER_H_
6 #define NET_QUIC_QUIC_DATA_WRITER_H_ 6 #define NET_QUIC_QUIC_DATA_WRITER_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/port.h"
14 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
15 #include "net/base/int128.h" 14 #include "net/base/int128.h"
16 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
17 #include "net/quic/quic_protocol.h" 16 #include "net/quic/quic_protocol.h"
18 17
19 namespace net { 18 namespace net {
20 19
21 // This class provides facilities for packing QUIC data. 20 // This class provides facilities for packing QUIC data.
22 // 21 //
23 // The QuicDataWriter supports appending primitive values (int, string, etc) 22 // The QuicDataWriter supports appending primitive values (int, string, etc)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 char* buffer_; 67 char* buffer_;
69 size_t capacity_; // Allocation size of payload (or -1 if buffer is const). 68 size_t capacity_; // Allocation size of payload (or -1 if buffer is const).
70 size_t length_; // Current length of the buffer. 69 size_t length_; // Current length of the buffer.
71 70
72 DISALLOW_COPY_AND_ASSIGN(QuicDataWriter); 71 DISALLOW_COPY_AND_ASSIGN(QuicDataWriter);
73 }; 72 };
74 73
75 } // namespace net 74 } // namespace net
76 75
77 #endif // NET_QUIC_QUIC_DATA_WRITER_H_ 76 #endif // NET_QUIC_QUIC_DATA_WRITER_H_
OLDNEW
« no previous file with comments | « media/formats/mp2t/timestamp_unroller_unittest.cc ('k') | net/tools/balsa/balsa_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698