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

Side by Side Diff: net/socket/client_socket_pool.cc

Issue 10026024: Attempting to re-land a small portion of this change... Simply add links from (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix willchan's nit Created 8 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 | Annotate | Revision Log
« no previous file with comments | « net/socket/client_socket_pool.h ('k') | net/socket/client_socket_pool_base.h » ('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) 2011 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/socket/client_socket_pool.h" 5 #include "net/socket/client_socket_pool.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace { 9 namespace {
10 10
11 // The maximum duration, in seconds, to keep unused idle persistent sockets 11 // The maximum duration, in seconds, to keep unused idle persistent sockets
(...skipping 29 matching lines...) Expand all
41 void ClientSocketPool::set_used_idle_socket_timeout(base::TimeDelta timeout) { 41 void ClientSocketPool::set_used_idle_socket_timeout(base::TimeDelta timeout) {
42 DCHECK_GT(timeout.InSeconds(), 0); 42 DCHECK_GT(timeout.InSeconds(), 0);
43 g_used_idle_socket_timeout_s = timeout.InSeconds(); 43 g_used_idle_socket_timeout_s = timeout.InSeconds();
44 } 44 }
45 45
46 ClientSocketPool::ClientSocketPool() {} 46 ClientSocketPool::ClientSocketPool() {}
47 47
48 ClientSocketPool::~ClientSocketPool() {} 48 ClientSocketPool::~ClientSocketPool() {}
49 49
50 } // namespace net 50 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool.h ('k') | net/socket/client_socket_pool_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698