Skip to content

Commit

Permalink
Change EOL setting of net/socket/client_socket_pool.cc
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wangxianzhu@chromium.org committed Oct 12, 2011
1 parent 90e33a8 commit 554cee3
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions net/socket/client_socket_pool.cc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 554cee3

Please sign in to comment.