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

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

Issue 6930014: Rename ClientSocket to StreamSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months 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.h ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 virtual void RequestSockets(const std::string& group_name, 189 virtual void RequestSockets(const std::string& group_name,
190 const void* params, 190 const void* params,
191 int num_sockets, 191 int num_sockets,
192 const BoundNetLog& net_log); 192 const BoundNetLog& net_log);
193 193
194 virtual void CancelRequest(const std::string& group_name, 194 virtual void CancelRequest(const std::string& group_name,
195 ClientSocketHandle* handle); 195 ClientSocketHandle* handle);
196 196
197 virtual void ReleaseSocket(const std::string& group_name, 197 virtual void ReleaseSocket(const std::string& group_name,
198 ClientSocket* socket, 198 StreamSocket* socket,
199 int id); 199 int id);
200 200
201 virtual void Flush(); 201 virtual void Flush();
202 202
203 virtual void CloseIdleSockets(); 203 virtual void CloseIdleSockets();
204 204
205 virtual int IdleSocketCount() const; 205 virtual int IdleSocketCount() const;
206 206
207 virtual int IdleSocketCountInGroup(const std::string& group_name) const; 207 virtual int IdleSocketCountInGroup(const std::string& group_name) const;
208 208
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 252 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
253 }; 253 };
254 254
255 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, 255 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool,
256 HttpProxySocketParams); 256 HttpProxySocketParams);
257 257
258 } // namespace net 258 } // namespace net
259 259
260 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 260 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket.h ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698