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

Side by Side Diff: net/tools/quic/quic_reliable_client_stream.cc

Issue 82913011: LOG(INFO) tidying in net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert dns_fuzz_stub changes Created 7 years 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/tools/quic/quic_in_memory_cache.cc ('k') | net/tools/quic/quic_reliable_server_stream.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 #include "net/tools/quic/quic_reliable_client_stream.h" 5 #include "net/tools/quic/quic_reliable_client_stream.h"
6 6
7 using std::string; 7 using std::string;
8 8
9 namespace net { 9 namespace net {
10 namespace tools { 10 namespace tools {
11 11
12 // Sends body data to the server and returns the number of bytes sent. 12 // Sends body data to the server and returns the number of bytes sent.
13 ssize_t QuicReliableClientStream::SendBody(const string& data, bool fin) { 13 ssize_t QuicReliableClientStream::SendBody(const string& data, bool fin) {
14 return WriteData(data, fin).bytes_consumed; 14 return WriteData(data, fin).bytes_consumed;
15 } 15 }
16 16
17 bool QuicReliableClientStream::OnStreamFrame(const QuicStreamFrame& frame) { 17 bool QuicReliableClientStream::OnStreamFrame(const QuicStreamFrame& frame) {
18 if (!write_side_closed()) { 18 if (!write_side_closed()) {
19 DLOG(INFO) << "Got a response before the request was complete. " 19 DVLOG(0) << "Got a response before the request was complete. "
20 << "Aborting request."; 20 << "Aborting request.";
21 CloseWriteSide(); 21 CloseWriteSide();
22 } 22 }
23 return ReliableQuicStream::OnStreamFrame(frame); 23 return ReliableQuicStream::OnStreamFrame(frame);
24 } 24 }
25 25
26 } // namespace tools 26 } // namespace tools
27 } // namespace net 27 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_in_memory_cache.cc ('k') | net/tools/quic/quic_reliable_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698