Chromium Code Reviews| Index: net/socket/client_socket_handle.cc |
| diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc |
| index fbe9d800f7577734844f4b44a6b84424f2f86cae..9c264b74d409752b7404333aa6f5932e0ef18fe0 100644 |
| --- a/net/socket/client_socket_handle.cc |
| +++ b/net/socket/client_socket_handle.cc |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
|
mmenke
2012/01/23 20:07:56
I assume reverting the year is correct, when rever
eroman
2012/01/23 22:04:15
Removed.
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -17,8 +17,6 @@ namespace net { |
| ClientSocketHandle::ClientSocketHandle() |
| : is_initialized_(false), |
| - pool_(NULL), |
| - layered_pool_(NULL), |
| is_reused_(false), |
| ALLOW_THIS_IN_INITIALIZER_LIST(callback_( |
| base::Bind(&ClientSocketHandle::OnIOComplete, |
| @@ -54,10 +52,6 @@ void ClientSocketHandle::ResetInternal(bool cancel) { |
| group_name_.clear(); |
| is_reused_ = false; |
| user_callback_.Reset(); |
| - if (layered_pool_) { |
| - pool_->RemoveLayeredPool(layered_pool_); |
| - layered_pool_ = NULL; |
| - } |
| pool_ = NULL; |
| idle_time_ = base::TimeDelta(); |
| init_time_ = base::TimeTicks(); |
| @@ -81,19 +75,6 @@ LoadState ClientSocketHandle::GetLoadState() const { |
| return pool_->GetLoadState(group_name_, this); |
| } |
| -bool ClientSocketHandle::IsPoolStalled() const { |
| - return pool_->IsStalled(); |
| -} |
| - |
| -void ClientSocketHandle::AddLayeredPool(LayeredPool* layered_pool) { |
| - CHECK(layered_pool); |
| - CHECK(!layered_pool_); |
| - if (pool_) { |
| - pool_->AddLayeredPool(layered_pool); |
| - layered_pool_ = layered_pool; |
| - } |
| -} |
| - |
| void ClientSocketHandle::OnIOComplete(int result) { |
| CompletionCallback callback = user_callback_; |
| user_callback_.Reset(); |