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

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

Issue 1158193006: Converted bare pointer to scoped_ptr<> in net/socket and net/http (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed failed net unit tests Created 5 years, 6 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
« no previous file with comments | « AUTHORS ('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) 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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 void CloseIdleSockets() override; 215 void CloseIdleSockets() override;
216 216
217 int IdleSocketCount() const override; 217 int IdleSocketCount() const override;
218 218
219 int IdleSocketCountInGroup(const std::string& group_name) const override; 219 int IdleSocketCountInGroup(const std::string& group_name) const override;
220 220
221 LoadState GetLoadState(const std::string& group_name, 221 LoadState GetLoadState(const std::string& group_name,
222 const ClientSocketHandle* handle) const override; 222 const ClientSocketHandle* handle) const override;
223 223
224 base::DictionaryValue* GetInfoAsValue( 224 scoped_ptr<base::DictionaryValue> GetInfoAsValue(
225 const std::string& name, 225 const std::string& name,
226 const std::string& type, 226 const std::string& type,
227 bool include_nested_pools) const override; 227 bool include_nested_pools) const override;
228 228
229 base::TimeDelta ConnectionTimeout() const override; 229 base::TimeDelta ConnectionTimeout() const override;
230 230
231 // LowerLayeredPool implementation. 231 // LowerLayeredPool implementation.
232 bool IsStalled() const override; 232 bool IsStalled() const override;
233 233
234 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; 234 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 TransportClientSocketPool* const transport_pool_; 267 TransportClientSocketPool* const transport_pool_;
268 SSLClientSocketPool* const ssl_pool_; 268 SSLClientSocketPool* const ssl_pool_;
269 PoolBase base_; 269 PoolBase base_;
270 270
271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
272 }; 272 };
273 273
274 } // namespace net 274 } // namespace net
275 275
276 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 276 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698