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

Side by Side Diff: net/cert/multi_threaded_cert_verifier.cc

Issue 27500004: Listen for new system certificates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload Created 7 years, 2 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
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/cert/multi_threaded_cert_verifier.h" 5 #include "net/cert/multi_threaded_cert_verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 delete job; 556 delete job;
557 } 557 }
558 558
559 void MultiThreadedCertVerifier::OnCertTrustChanged( 559 void MultiThreadedCertVerifier::OnCertTrustChanged(
560 const X509Certificate* cert) { 560 const X509Certificate* cert) {
561 DCHECK(CalledOnValidThread()); 561 DCHECK(CalledOnValidThread());
562 562
563 ClearCache(); 563 ClearCache();
564 } 564 }
565 565
566 void MultiThreadedCertVerifier::OnDatabaseUpdated() {
567 DCHECK(CalledOnValidThread());
568
569 ClearCache();
570 }
571
566 } // namespace net 572 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698