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

Side by Side Diff: net/socket/transport_client_socket_pool.h

Issue 9760002: Revert 127717 - Revert 118788 - Revert 113405 - Revert 113305 - Revert 113300 - Revert 112134 - Rev… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/ssl_client_socket_pool.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 virtual void RequestSockets(const std::string& group_name, 150 virtual void RequestSockets(const std::string& group_name,
151 const void* params, 151 const void* params,
152 int num_sockets, 152 int num_sockets,
153 const BoundNetLog& net_log) OVERRIDE; 153 const BoundNetLog& net_log) OVERRIDE;
154 virtual void CancelRequest(const std::string& group_name, 154 virtual void CancelRequest(const std::string& group_name,
155 ClientSocketHandle* handle) OVERRIDE; 155 ClientSocketHandle* handle) OVERRIDE;
156 virtual void ReleaseSocket(const std::string& group_name, 156 virtual void ReleaseSocket(const std::string& group_name,
157 StreamSocket* socket, 157 StreamSocket* socket,
158 int id) OVERRIDE; 158 int id) OVERRIDE;
159 virtual void Flush() OVERRIDE; 159 virtual void Flush() OVERRIDE;
160 virtual bool IsStalled() const OVERRIDE;
161 virtual void CloseIdleSockets() OVERRIDE; 160 virtual void CloseIdleSockets() OVERRIDE;
162 virtual int IdleSocketCount() const OVERRIDE; 161 virtual int IdleSocketCount() const OVERRIDE;
163 virtual int IdleSocketCountInGroup( 162 virtual int IdleSocketCountInGroup(
164 const std::string& group_name) const OVERRIDE; 163 const std::string& group_name) const OVERRIDE;
165 virtual LoadState GetLoadState( 164 virtual LoadState GetLoadState(
166 const std::string& group_name, 165 const std::string& group_name,
167 const ClientSocketHandle* handle) const OVERRIDE; 166 const ClientSocketHandle* handle) const OVERRIDE;
168 virtual void AddLayeredPool(LayeredPool* layered_pool) OVERRIDE;
169 virtual void RemoveLayeredPool(LayeredPool* layered_pool) OVERRIDE;
170 virtual base::DictionaryValue* GetInfoAsValue( 167 virtual base::DictionaryValue* GetInfoAsValue(
171 const std::string& name, 168 const std::string& name,
172 const std::string& type, 169 const std::string& type,
173 bool include_nested_pools) const OVERRIDE; 170 bool include_nested_pools) const OVERRIDE;
174 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; 171 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE;
175 virtual ClientSocketPoolHistograms* histograms() const OVERRIDE; 172 virtual ClientSocketPoolHistograms* histograms() const OVERRIDE;
176 173
177 private: 174 private:
178 typedef ClientSocketPoolBase<TransportSocketParams> PoolBase; 175 typedef ClientSocketPoolBase<TransportSocketParams> PoolBase;
179 176
(...skipping 30 matching lines...) Expand all
210 207
211 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); 208 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool);
212 }; 209 };
213 210
214 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool, 211 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool,
215 TransportSocketParams); 212 TransportSocketParams);
216 213
217 } // namespace net 214 } // namespace net
218 215
219 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ 216 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | net/socket/transport_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698