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

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

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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 | Annotate | Revision Log
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/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 return !is_write_blocked_; 149 return !is_write_blocked_;
150 } 150 }
151 151
152 void QuicTimeWaitListManager::OnError(QuicFramer* framer) { 152 void QuicTimeWaitListManager::OnError(QuicFramer* framer) {
153 DLOG(INFO) << QuicUtils::ErrorToString(framer->error()); 153 DLOG(INFO) << QuicUtils::ErrorToString(framer->error());
154 } 154 }
155 155
156 bool QuicTimeWaitListManager::OnProtocolVersionMismatch( 156 bool QuicTimeWaitListManager::OnProtocolVersionMismatch(
157 QuicVersionTag received_version) { 157 QuicTag received_version) {
158 // Drop such packets whose version don't match. 158 // Drop such packets whose version don't match.
159 return false; 159 return false;
160 } 160 }
161 161
162 bool QuicTimeWaitListManager::OnStreamFrame(const QuicStreamFrame& frame) { 162 bool QuicTimeWaitListManager::OnStreamFrame(const QuicStreamFrame& frame) {
163 return false; 163 return false;
164 } 164 }
165 165
166 bool QuicTimeWaitListManager::OnAckFrame(const QuicAckFrame& frame) { 166 bool QuicTimeWaitListManager::OnAckFrame(const QuicAckFrame& frame) {
167 return false; 167 return false;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 // This guid has lived its age, retire it now. 299 // This guid has lived its age, retire it now.
300 guid_map_.erase(oldest_guid->guid); 300 guid_map_.erase(oldest_guid->guid);
301 time_ordered_guid_list_.pop_front(); 301 time_ordered_guid_list_.pop_front();
302 delete oldest_guid; 302 delete oldest_guid;
303 } 303 }
304 SetGuidCleanUpAlarm(); 304 SetGuidCleanUpAlarm();
305 } 305 }
306 306
307 } // namespace tools 307 } // namespace tools
308 } // namespace net 308 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager.h ('k') | net/tools/quic/test_tools/quic_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698