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

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

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_error_params.h ('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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 virtual void CloseIdleSockets(); 170 virtual void CloseIdleSockets();
171 171
172 virtual int IdleSocketCount() const; 172 virtual int IdleSocketCount() const;
173 173
174 virtual int IdleSocketCountInGroup(const std::string& group_name) const; 174 virtual int IdleSocketCountInGroup(const std::string& group_name) const;
175 175
176 virtual LoadState GetLoadState(const std::string& group_name, 176 virtual LoadState GetLoadState(const std::string& group_name,
177 const ClientSocketHandle* handle) const; 177 const ClientSocketHandle* handle) const;
178 178
179 virtual DictionaryValue* GetInfoAsValue(const std::string& name, 179 virtual base::DictionaryValue* GetInfoAsValue(
180 const std::string& type, 180 const std::string& name,
181 bool include_nested_pools) const; 181 const std::string& type,
182 bool include_nested_pools) const;
182 183
183 virtual base::TimeDelta ConnectionTimeout() const; 184 virtual base::TimeDelta ConnectionTimeout() const;
184 185
185 virtual ClientSocketPoolHistograms* histograms() const; 186 virtual ClientSocketPoolHistograms* histograms() const;
186 187
187 private: 188 private:
188 typedef ClientSocketPoolBase<TransportSocketParams> PoolBase; 189 typedef ClientSocketPoolBase<TransportSocketParams> PoolBase;
189 190
190 class TransportConnectJobFactory 191 class TransportConnectJobFactory
191 : public PoolBase::ConnectJobFactory { 192 : public PoolBase::ConnectJobFactory {
(...skipping 28 matching lines...) Expand all
220 221
221 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); 222 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool);
222 }; 223 };
223 224
224 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool, 225 REGISTER_SOCKET_PARAMS_FOR_POOL(TransportClientSocketPool,
225 TransportSocketParams); 226 TransportSocketParams);
226 227
227 } // namespace net 228 } // namespace net
228 229
229 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ 230 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_error_params.h ('k') | net/socket/transport_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698