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

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

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix failed test? Created 3 years, 11 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 | « net/quic/core/quic_crypto_stream.cc ('k') | net/quic/core/quic_flow_controller.cc » ('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_CORE_QUIC_DATA_WRITER_H_ 5 #ifndef NET_QUIC_CORE_QUIC_DATA_WRITER_H_
6 #define NET_QUIC_CORE_QUIC_DATA_WRITER_H_ 6 #define NET_QUIC_CORE_QUIC_DATA_WRITER_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <cstdint> 9 #include <cstdint>
10 #include <string> 10 #include <string>
11 11
12 #include "base/logging.h"
13 #include "base/macros.h" 12 #include "base/macros.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/quic/core/quic_packets.h" 15 #include "net/quic/core/quic_packets.h"
17 #include "net/quic/platform/api/quic_export.h" 16 #include "net/quic/platform/api/quic_export.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 //
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 char* buffer_; 64 char* buffer_;
66 size_t capacity_; // Allocation size of payload (or -1 if buffer is const). 65 size_t capacity_; // Allocation size of payload (or -1 if buffer is const).
67 size_t length_; // Current length of the buffer. 66 size_t length_; // Current length of the buffer.
68 67
69 DISALLOW_COPY_AND_ASSIGN(QuicDataWriter); 68 DISALLOW_COPY_AND_ASSIGN(QuicDataWriter);
70 }; 69 };
71 70
72 } // namespace net 71 } // namespace net
73 72
74 #endif // NET_QUIC_CORE_QUIC_DATA_WRITER_H_ 73 #endif // NET_QUIC_CORE_QUIC_DATA_WRITER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_stream.cc ('k') | net/quic/core/quic_flow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698