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

Side by Side Diff: net/tools/quic/quic_time_wait_list_manager.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_server_session.cc ('k') | net/tools/quic/spdy_utils.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_time_wait_list_manager.h" 5 #include "net/tools/quic/quic_time_wait_list_manager.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 8
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 if (!is_write_blocked_) { 163 if (!is_write_blocked_) {
164 pending_packets_queue_.pop_front(); 164 pending_packets_queue_.pop_front();
165 delete queued_packet; 165 delete queued_packet;
166 } 166 }
167 } 167 }
168 168
169 return !is_write_blocked_; 169 return !is_write_blocked_;
170 } 170 }
171 171
172 void QuicTimeWaitListManager::OnError(QuicFramer* framer) { 172 void QuicTimeWaitListManager::OnError(QuicFramer* framer) {
173 DLOG(INFO) << QuicUtils::ErrorToString(framer->error()); 173 DVLOG(0) << QuicUtils::ErrorToString(framer->error());
174 } 174 }
175 175
176 bool QuicTimeWaitListManager::OnProtocolVersionMismatch( 176 bool QuicTimeWaitListManager::OnProtocolVersionMismatch(
177 QuicVersion received_version) { 177 QuicVersion received_version) {
178 // Drop such packets whose version don't match. 178 // Drop such packets whose version don't match.
179 return false; 179 return false;
180 } 180 }
181 181
182 bool QuicTimeWaitListManager::OnUnauthenticatedHeader( 182 bool QuicTimeWaitListManager::OnUnauthenticatedHeader(
183 const QuicPacketHeader& header) { 183 const QuicPacketHeader& header) {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 delete it->second.close_packet; 354 delete it->second.close_packet;
355 guid_map_.erase(oldest_guid->guid); 355 guid_map_.erase(oldest_guid->guid);
356 time_ordered_guid_list_.pop_front(); 356 time_ordered_guid_list_.pop_front();
357 delete oldest_guid; 357 delete oldest_guid;
358 } 358 }
359 SetGuidCleanUpAlarm(); 359 SetGuidCleanUpAlarm();
360 } 360 }
361 361
362 } // namespace tools 362 } // namespace tools
363 } // namespace net 363 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server_session.cc ('k') | net/tools/quic/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698