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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/base/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"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/threading/worker_pool.h"
16 #include "base/time.h" 17 #include "base/time.h"
17 #include "base/threading/worker_pool.h"
18 #include "net/base/cert_trust_anchor_provider.h"
19 #include "net/base/cert_verify_proc.h"
20 #include "net/base/crl_set.h"
21 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
22 #include "net/base/net_log.h" 19 #include "net/base/net_log.h"
23 #include "net/base/x509_certificate.h" 20 #include "net/cert/cert_trust_anchor_provider.h"
24 #include "net/base/x509_certificate_net_log_param.h" 21 #include "net/cert/cert_verify_proc.h"
22 #include "net/cert/crl_set.h"
23 #include "net/cert/x509_certificate.h"
24 #include "net/cert/x509_certificate_net_log_param.h"
25 25
26 #if defined(USE_NSS) || defined(OS_IOS) 26 #if defined(USE_NSS) || defined(OS_IOS)
27 #include <private/pprthred.h> // PR_DetachThread 27 #include <private/pprthred.h> // PR_DetachThread
28 #endif 28 #endif
29 29
30 namespace net { 30 namespace net {
31 31
32 //////////////////////////////////////////////////////////////////////////// 32 ////////////////////////////////////////////////////////////////////////////
33 33
34 // Life of a request: 34 // Life of a request:
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 } 545 }
546 546
547 void MultiThreadedCertVerifier::OnCertTrustChanged( 547 void MultiThreadedCertVerifier::OnCertTrustChanged(
548 const X509Certificate* cert) { 548 const X509Certificate* cert) {
549 DCHECK(CalledOnValidThread()); 549 DCHECK(CalledOnValidThread());
550 550
551 ClearCache(); 551 ClearCache();
552 } 552 }
553 553
554 } // namespace net 554 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/multi_threaded_cert_verifier.h ('k') | net/cert/multi_threaded_cert_verifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698