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

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

Issue 1036303003: Various formatting changes to shared QUIC server code found while syning with internal version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/tools/quic/quic_time_wait_list_manager.h ('k') | no next file » | 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/logging.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/stl_util.h" 11 #include "base/stl_util.h"
11 #include "net/base/ip_endpoint.h" 12 #include "net/base/ip_endpoint.h"
12 #include "net/quic/crypto/crypto_protocol.h" 13 #include "net/quic/crypto/crypto_protocol.h"
13 #include "net/quic/crypto/quic_decrypter.h" 14 #include "net/quic/crypto/quic_decrypter.h"
14 #include "net/quic/crypto/quic_encrypter.h" 15 #include "net/quic/crypto/quic_encrypter.h"
15 #include "net/quic/quic_clock.h" 16 #include "net/quic/quic_clock.h"
16 #include "net/quic/quic_flags.h" 17 #include "net/quic/quic_flags.h"
17 #include "net/quic/quic_framer.h" 18 #include "net/quic/quic_framer.h"
18 #include "net/quic/quic_protocol.h" 19 #include "net/quic/quic_protocol.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 return; 306 return;
306 } 307 }
307 while (num_connections() >= 308 while (num_connections() >=
308 static_cast<size_t>(FLAGS_quic_time_wait_list_max_connections)) { 309 static_cast<size_t>(FLAGS_quic_time_wait_list_max_connections)) {
309 MaybeExpireOldestConnection(QuicTime::Infinite()); 310 MaybeExpireOldestConnection(QuicTime::Infinite());
310 } 311 }
311 } 312 }
312 313
313 } // namespace tools 314 } // namespace tools
314 } // namespace net 315 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698