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

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

Issue 2541093003: Instrument SSL sockets using MemoryDumpProvider (Closed)
Patch Set: Fix flaky test Created 4 years 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/ssl_client_socket_impl.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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 void CloseIdleSockets() override; 227 void CloseIdleSockets() override;
228 228
229 int IdleSocketCount() const override; 229 int IdleSocketCount() const override;
230 230
231 int IdleSocketCountInGroup(const std::string& group_name) const override; 231 int IdleSocketCountInGroup(const std::string& group_name) const override;
232 232
233 LoadState GetLoadState(const std::string& group_name, 233 LoadState GetLoadState(const std::string& group_name,
234 const ClientSocketHandle* handle) const override; 234 const ClientSocketHandle* handle) const override;
235 235
236 // Dumps memory allocation stats. |parent_dump_absolute_name| is the name
237 // used by the parent MemoryAllocatorDump in the memory dump hierarchy.
238 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd,
239 const std::string& parent_dump_absolute_name) const;
240
236 std::unique_ptr<base::DictionaryValue> GetInfoAsValue( 241 std::unique_ptr<base::DictionaryValue> GetInfoAsValue(
237 const std::string& name, 242 const std::string& name,
238 const std::string& type, 243 const std::string& type,
239 bool include_nested_pools) const override; 244 bool include_nested_pools) const override;
240 245
241 base::TimeDelta ConnectionTimeout() const override; 246 base::TimeDelta ConnectionTimeout() const override;
242 247
243 // LowerLayeredPool implementation. 248 // LowerLayeredPool implementation.
244 bool IsStalled() const override; 249 bool IsStalled() const override;
245 250
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 HttpProxyClientSocketPool* const http_proxy_pool_; 301 HttpProxyClientSocketPool* const http_proxy_pool_;
297 PoolBase base_; 302 PoolBase base_;
298 const scoped_refptr<SSLConfigService> ssl_config_service_; 303 const scoped_refptr<SSLConfigService> ssl_config_service_;
299 304
300 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 305 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
301 }; 306 };
302 307
303 } // namespace net 308 } // namespace net
304 309
305 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_impl.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698