diff options
author | wangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 06:54:08 +0000 |
---|---|---|
committer | wangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 06:54:08 +0000 |
commit | 554cee375254708ab234c50397fb44bb66ac4888 (patch) | |
tree | 5845ef4a79ae38611f319ba9aa617765ca52494a /net/socket | |
parent | 90e33a8a384702428ec9b8182e2d720577771dc6 (diff) | |
download | chromium_src-554cee375254708ab234c50397fb44bb66ac4888.zip chromium_src-554cee375254708ab234c50397fb44bb66ac4888.tar.gz chromium_src-554cee375254708ab234c50397fb44bb66ac4888.tar.bz2 |
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
Diffstat (limited to 'net/socket')
-rw-r--r-- | net/socket/client_socket_pool.cc | 66 |
1 files changed, 33 insertions, 33 deletions
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 |