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

Side by Side Diff: net/socket/transport_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/socket/tcp_server_socket_win.cc ('k') | net/socket/transport_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_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 virtual void RequestSockets(const std::string& group_name, 127 virtual void RequestSockets(const std::string& group_name,
128 const void* params, 128 const void* params,
129 int num_sockets, 129 int num_sockets,
130 const BoundNetLog& net_log); 130 const BoundNetLog& net_log);
131 131
132 virtual void CancelRequest(const std::string& group_name, 132 virtual void CancelRequest(const std::string& group_name,
133 ClientSocketHandle* handle); 133 ClientSocketHandle* handle);
134 134
135 virtual void ReleaseSocket(const std::string& group_name, 135 virtual void ReleaseSocket(const std::string& group_name,
136 ClientSocket* socket, 136 StreamSocket* socket,
137 int id); 137 int id);
138 138
139 virtual void Flush(); 139 virtual void Flush();
140 140
141 virtual void CloseIdleSockets(); 141 virtual void CloseIdleSockets();
142 142
143 virtual int IdleSocketCount() const; 143 virtual int IdleSocketCount() const;
144 144
145 virtual int IdleSocketCountInGroup(const std::string& group_name) const; 145 virtual int IdleSocketCountInGroup(const std::string& group_name) const;
146 146
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); 192 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool);
193 }; 193 };
194 194
195 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool, 195 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool,
196 TransportSocketParams); 196 TransportSocketParams);
197 197
198 } // namespace net 198 } // namespace net
199 199
200 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ 200 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/tcp_server_socket_win.cc ('k') | net/socket/transport_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698