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

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

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 years 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/socks_client_socket_pool.h ('k') | net/socket/ssl_client_socket.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/socks_client_socket_pool.h" 5 #include "net/socket/socks_client_socket_pool.h"
6 6
7 #include "base/time.h" 7 #include "base/time.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 } 229 }
230 230
231 void SOCKSClientSocketPool::Flush() { 231 void SOCKSClientSocketPool::Flush() {
232 base_.Flush(); 232 base_.Flush();
233 } 233 }
234 234
235 void SOCKSClientSocketPool::CloseIdleSockets() { 235 void SOCKSClientSocketPool::CloseIdleSockets() {
236 base_.CloseIdleSockets(); 236 base_.CloseIdleSockets();
237 } 237 }
238 238
239 int SOCKSClientSocketPool::IdleSocketCount() const {
240 return base_.idle_socket_count();
241 }
242
239 int SOCKSClientSocketPool::IdleSocketCountInGroup( 243 int SOCKSClientSocketPool::IdleSocketCountInGroup(
240 const std::string& group_name) const { 244 const std::string& group_name) const {
241 return base_.IdleSocketCountInGroup(group_name); 245 return base_.IdleSocketCountInGroup(group_name);
242 } 246 }
243 247
244 LoadState SOCKSClientSocketPool::GetLoadState( 248 LoadState SOCKSClientSocketPool::GetLoadState(
245 const std::string& group_name, const ClientSocketHandle* handle) const { 249 const std::string& group_name, const ClientSocketHandle* handle) const {
246 return base_.GetLoadState(group_name, handle); 250 return base_.GetLoadState(group_name, handle);
247 } 251 }
248 252
249 DictionaryValue* SOCKSClientSocketPool::GetInfoAsValue( 253 DictionaryValue* SOCKSClientSocketPool::GetInfoAsValue(
250 const std::string& name, 254 const std::string& name,
251 const std::string& type, 255 const std::string& type,
252 bool include_nested_pools) const { 256 bool include_nested_pools) const {
253 DictionaryValue* dict = base_.GetInfoAsValue(name, type); 257 DictionaryValue* dict = base_.GetInfoAsValue(name, type);
254 if (include_nested_pools) { 258 if (include_nested_pools) {
255 ListValue* list = new ListValue(); 259 ListValue* list = new ListValue();
256 list->Append(tcp_pool_->GetInfoAsValue("tcp_socket_pool", 260 list->Append(tcp_pool_->GetInfoAsValue("tcp_socket_pool",
257 "tcp_socket_pool", 261 "tcp_socket_pool",
258 false)); 262 false));
259 dict->Set("nested_pools", list); 263 dict->Set("nested_pools", list);
260 } 264 }
261 return dict; 265 return dict;
262 } 266 }
263 267
268 base::TimeDelta SOCKSClientSocketPool::ConnectionTimeout() const {
269 return base_.ConnectionTimeout();
270 }
271
272 ClientSocketPoolHistograms* SOCKSClientSocketPool::histograms() const {
273 return base_.histograms();
274 };
275
264 } // namespace net 276 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/socks_client_socket_pool.h ('k') | net/socket/ssl_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698