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

Side by Side Diff: net/socket/ssl_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 | « net/socket/socks_client_socket_pool.cc ('k') | net/socket/ssl_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_SSL_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 void CloseIdleSockets() override; 226 void CloseIdleSockets() override;
227 227
228 int IdleSocketCount() const override; 228 int IdleSocketCount() const override;
229 229
230 int IdleSocketCountInGroup(const std::string& group_name) const override; 230 int IdleSocketCountInGroup(const std::string& group_name) const override;
231 231
232 LoadState GetLoadState(const std::string& group_name, 232 LoadState GetLoadState(const std::string& group_name,
233 const ClientSocketHandle* handle) const override; 233 const ClientSocketHandle* handle) const override;
234 234
235 base::DictionaryValue* GetInfoAsValue( 235 scoped_ptr<base::DictionaryValue> GetInfoAsValue(
236 const std::string& name, 236 const std::string& name,
237 const std::string& type, 237 const std::string& type,
238 bool include_nested_pools) const override; 238 bool include_nested_pools) const override;
239 239
240 base::TimeDelta ConnectionTimeout() const override; 240 base::TimeDelta ConnectionTimeout() const override;
241 241
242 // LowerLayeredPool implementation. 242 // LowerLayeredPool implementation.
243 bool IsStalled() const override; 243 bool IsStalled() const override;
244 244
245 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; 245 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 HttpProxyClientSocketPool* const http_proxy_pool_; 295 HttpProxyClientSocketPool* const http_proxy_pool_;
296 PoolBase base_; 296 PoolBase base_;
297 const scoped_refptr<SSLConfigService> ssl_config_service_; 297 const scoped_refptr<SSLConfigService> ssl_config_service_;
298 298
299 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 299 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
300 }; 300 };
301 301
302 } // namespace net 302 } // namespace net
303 303
304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/socks_client_socket_pool.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698