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

Side by Side Diff: net/http/http_proxy_client_socket_pool.h

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) 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/http/http_proxy_client_socket.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('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 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 ClientSocketHandle* handle); 197 ClientSocketHandle* handle);
198 198
199 virtual void ReleaseSocket(const std::string& group_name, 199 virtual void ReleaseSocket(const std::string& group_name,
200 ClientSocket* socket, 200 ClientSocket* socket,
201 int id); 201 int id);
202 202
203 virtual void Flush(); 203 virtual void Flush();
204 204
205 virtual void CloseIdleSockets(); 205 virtual void CloseIdleSockets();
206 206
207 virtual int IdleSocketCount() const { 207 virtual int IdleSocketCount() const;
208 return base_.idle_socket_count();
209 }
210 208
211 virtual int IdleSocketCountInGroup(const std::string& group_name) const; 209 virtual int IdleSocketCountInGroup(const std::string& group_name) const;
212 210
213 virtual LoadState GetLoadState(const std::string& group_name, 211 virtual LoadState GetLoadState(const std::string& group_name,
214 const ClientSocketHandle* handle) const; 212 const ClientSocketHandle* handle) const;
215 213
216 virtual DictionaryValue* GetInfoAsValue(const std::string& name, 214 virtual DictionaryValue* GetInfoAsValue(const std::string& name,
217 const std::string& type, 215 const std::string& type,
218 bool include_nested_pools) const; 216 bool include_nested_pools) const;
219 217
220 virtual base::TimeDelta ConnectionTimeout() const { 218 virtual base::TimeDelta ConnectionTimeout() const;
221 return base_.ConnectionTimeout();
222 }
223 219
224 virtual ClientSocketPoolHistograms* histograms() const { 220 virtual ClientSocketPoolHistograms* histograms() const;
225 return base_.histograms();
226 };
227 221
228 private: 222 private:
229 typedef ClientSocketPoolBase<HttpProxySocketParams> PoolBase; 223 typedef ClientSocketPoolBase<HttpProxySocketParams> PoolBase;
230 224
231 class HttpProxyConnectJobFactory : public PoolBase::ConnectJobFactory { 225 class HttpProxyConnectJobFactory : public PoolBase::ConnectJobFactory {
232 public: 226 public:
233 HttpProxyConnectJobFactory( 227 HttpProxyConnectJobFactory(
234 TCPClientSocketPool* tcp_pool, 228 TCPClientSocketPool* tcp_pool,
235 SSLClientSocketPool* ssl_pool, 229 SSLClientSocketPool* ssl_pool,
236 HostResolver* host_resolver, 230 HostResolver* host_resolver,
(...skipping 22 matching lines...) Expand all
259 253
260 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 254 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
261 }; 255 };
262 256
263 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, 257 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool,
264 HttpProxySocketParams); 258 HttpProxySocketParams);
265 259
266 } // namespace net 260 } // namespace net
267 261
268 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 262 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698