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

Side by Side Diff: net/quic/core/frames/quic_stream_frame.cc

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/frames/quic_frame.cc ('k') | net/quic/core/quic_alarm.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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #include "net/quic/core/frames/quic_stream_frame.h" 5 #include "net/quic/core/frames/quic_stream_frame.h"
6 6
7 #include "base/logging.h" 7 #include "net/quic/platform/api/quic_logging.h"
8 8
9 using base::StringPiece; 9 using base::StringPiece;
10 10
11 namespace net { 11 namespace net {
12 12
13 void StreamBufferDeleter::operator()(char* buffer) const { 13 void StreamBufferDeleter::operator()(char* buffer) const {
14 if (allocator_ != nullptr && buffer != nullptr) { 14 if (allocator_ != nullptr && buffer != nullptr) {
15 allocator_->Delete(buffer); 15 allocator_->Delete(buffer);
16 } 16 }
17 } 17 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 std::ostream& operator<<(std::ostream& os, 74 std::ostream& operator<<(std::ostream& os,
75 const QuicStreamFrame& stream_frame) { 75 const QuicStreamFrame& stream_frame) {
76 os << "{ stream_id: " << stream_frame.stream_id 76 os << "{ stream_id: " << stream_frame.stream_id
77 << ", fin: " << stream_frame.fin << ", offset: " << stream_frame.offset 77 << ", fin: " << stream_frame.fin << ", offset: " << stream_frame.offset
78 << ", length: " << stream_frame.data_length << " }\n"; 78 << ", length: " << stream_frame.data_length << " }\n";
79 return os; 79 return os;
80 } 80 }
81 81
82 } // namespace net 82 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_frame.cc ('k') | net/quic/core/quic_alarm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698