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

Side by Side Diff: net/socket/client_socket_pool_manager_impl.cc

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
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 #include "net/socket/client_socket_pool_manager_impl.h" 5 #include "net/socket/client_socket_pool_manager_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 // socket pools in |http_proxy_socket_pools_| and |socks_socket_pools_|. 353 // socket pools in |http_proxy_socket_pools_| and |socks_socket_pools_|.
354 AddSocketPoolsToList(list.get(), ssl_socket_pools_for_proxies_, 354 AddSocketPoolsToList(list.get(), ssl_socket_pools_for_proxies_,
355 "ssl_socket_pool_for_proxies", false); 355 "ssl_socket_pool_for_proxies", false);
356 return std::move(list); 356 return std::move(list);
357 } 357 }
358 358
359 void ClientSocketPoolManagerImpl::OnCertDBChanged(const X509Certificate* cert) { 359 void ClientSocketPoolManagerImpl::OnCertDBChanged(const X509Certificate* cert) {
360 FlushSocketPoolsWithError(ERR_NETWORK_CHANGED); 360 FlushSocketPoolsWithError(ERR_NETWORK_CHANGED);
361 } 361 }
362 362
363 void ClientSocketPoolManagerImpl::DumpMemoryStats(
364 base::trace_event::ProcessMemoryDump* pmd,
365 const std::string& parent_dump_absolute_name) const {
366 return ssl_socket_pool_->DumpMemoryStats(pmd, parent_dump_absolute_name);
367 }
368
363 } // namespace net 369 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_manager_impl.h ('k') | net/socket/mock_client_socket_pool_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698