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

Side by Side Diff: net/socket/socks_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/client_socket_pool_base_unittest.cc ('k') | net/socket/socks_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_SOCKS_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SOCKS_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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 void CloseIdleSockets() override; 142 void CloseIdleSockets() override;
143 143
144 int IdleSocketCount() const override; 144 int IdleSocketCount() const override;
145 145
146 int IdleSocketCountInGroup(const std::string& group_name) const override; 146 int IdleSocketCountInGroup(const std::string& group_name) const override;
147 147
148 LoadState GetLoadState(const std::string& group_name, 148 LoadState GetLoadState(const std::string& group_name,
149 const ClientSocketHandle* handle) const override; 149 const ClientSocketHandle* handle) const override;
150 150
151 base::DictionaryValue* GetInfoAsValue( 151 scoped_ptr<base::DictionaryValue> GetInfoAsValue(
152 const std::string& name, 152 const std::string& name,
153 const std::string& type, 153 const std::string& type,
154 bool include_nested_pools) const override; 154 bool include_nested_pools) const override;
155 155
156 base::TimeDelta ConnectionTimeout() const override; 156 base::TimeDelta ConnectionTimeout() const override;
157 157
158 // LowerLayeredPool implementation. 158 // LowerLayeredPool implementation.
159 bool IsStalled() const override; 159 bool IsStalled() const override;
160 160
161 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; 161 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 TransportClientSocketPool* const transport_pool_; 198 TransportClientSocketPool* const transport_pool_;
199 PoolBase base_; 199 PoolBase base_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); 201 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool);
202 }; 202 };
203 203
204 } // namespace net 204 } // namespace net
205 205
206 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 206 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_base_unittest.cc ('k') | net/socket/socks_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698