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

Side by Side Diff: net/spdy/spdy_session_pool.cc

Issue 2691683003: Remove OnCertDBChanged |cert| parameter. (Closed)
Patch Set: comment wording Created 3 years, 10 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/spdy/spdy_session_pool.h ('k') | net/ssl/ssl_client_auth_cache.h » ('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 #include "net/spdy/spdy_session_pool.h" 5 #include "net/spdy/spdy_session_pool.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 DCHECK((*it)->IsDraining()); 361 DCHECK((*it)->IsDraining());
362 #endif // defined(OS_ANDROID) || defined(OS_WIN) || defined(OS_IOS) 362 #endif // defined(OS_ANDROID) || defined(OS_WIN) || defined(OS_IOS)
363 DCHECK(!IsSessionAvailable(*it)); 363 DCHECK(!IsSessionAvailable(*it));
364 } 364 }
365 } 365 }
366 366
367 void SpdySessionPool::OnSSLConfigChanged() { 367 void SpdySessionPool::OnSSLConfigChanged() {
368 CloseCurrentSessions(ERR_NETWORK_CHANGED); 368 CloseCurrentSessions(ERR_NETWORK_CHANGED);
369 } 369 }
370 370
371 void SpdySessionPool::OnCertDBChanged(const X509Certificate* cert) { 371 void SpdySessionPool::OnCertDBChanged() {
372 CloseCurrentSessions(ERR_CERT_DATABASE_CHANGED); 372 CloseCurrentSessions(ERR_CERT_DATABASE_CHANGED);
373 } 373 }
374 374
375 void SpdySessionPool::DumpMemoryStats( 375 void SpdySessionPool::DumpMemoryStats(
376 base::trace_event::ProcessMemoryDump* pmd, 376 base::trace_event::ProcessMemoryDump* pmd,
377 const std::string& parent_dump_absolute_name) const { 377 const std::string& parent_dump_absolute_name) const {
378 if (sessions_.empty()) 378 if (sessions_.empty())
379 return; 379 return;
380 size_t total_size = 0; 380 size_t total_size = 0;
381 size_t buffer_size = 0; 381 size_t buffer_size = 0;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 483
484 if (idle_only && (*it)->is_active()) 484 if (idle_only && (*it)->is_active())
485 continue; 485 continue;
486 486
487 (*it)->CloseSessionOnError(error, description); 487 (*it)->CloseSessionOnError(error, description);
488 DCHECK(!IsSessionAvailable(*it)); 488 DCHECK(!IsSessionAvailable(*it));
489 } 489 }
490 } 490 }
491 491
492 } // namespace net 492 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool.h ('k') | net/ssl/ssl_client_auth_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698