From 554cee375254708ab234c50397fb44bb66ac4888 Mon Sep 17 00:00:00 2001 From: "wangxianzhu@chromium.org" <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 12 Oct 2011 06:54:08 +0000 Subject: Change EOL setting of net/socket/client_socket_pool.cc Will change the actual EOL in CL http://codereview.chromium.org/8073018. TBR=maruel@chromium.org Review URL: http://codereview.chromium.org/8242001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105025 0039d316-1c4b-4281-b951-d872f2087c98 --- net/socket/client_socket_pool.cc | 66 ++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'net/socket') diff --git a/net/socket/client_socket_pool.cc b/net/socket/client_socket_pool.cc index a54109e..06e2805 100644 --- a/net/socket/client_socket_pool.cc +++ b/net/socket/client_socket_pool.cc @@ -1,33 +1,33 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "net/socket/client_socket_pool.h" - -namespace { - -// The maximum duration, in seconds, to keep used idle persistent sockets -// alive. -// TODO(ziadh): Change this timeout after getting histogram data on how long it -// should be. -int g_unused_idle_socket_timeout = 10; - -} // namespace - -namespace net { - -// static -int ClientSocketPool::unused_idle_socket_timeout() { - return g_unused_idle_socket_timeout; -} - -// static -void ClientSocketPool::set_unused_idle_socket_timeout(int timeout) { - g_unused_idle_socket_timeout = timeout; -} - -ClientSocketPool::ClientSocketPool() {} - -ClientSocketPool::~ClientSocketPool() {} - -} // namespace net +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "net/socket/client_socket_pool.h" + +namespace { + +// The maximum duration, in seconds, to keep used idle persistent sockets +// alive. +// TODO(ziadh): Change this timeout after getting histogram data on how long it +// should be. +int g_unused_idle_socket_timeout = 10; + +} // namespace + +namespace net { + +// static +int ClientSocketPool::unused_idle_socket_timeout() { + return g_unused_idle_socket_timeout; +} + +// static +void ClientSocketPool::set_unused_idle_socket_timeout(int timeout) { + g_unused_idle_socket_timeout = timeout; +} + +ClientSocketPool::ClientSocketPool() {} + +ClientSocketPool::~ClientSocketPool() {} + +} // namespace net -- cgit v1.1