Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_CERT_MULTI_THREADED_CERT_VERIFIER_H_ | 5 #ifndef NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ |
| 6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ | 6 #define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
| 16 #include "base/values.h" | |
| 16 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
| 17 #include "net/base/expiring_cache.h" | 18 #include "net/base/expiring_cache.h" |
| 18 #include "net/base/hash_value.h" | 19 #include "net/base/hash_value.h" |
| 19 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
| 21 #include "net/base/net_log.h" | |
| 20 #include "net/cert/cert_database.h" | 22 #include "net/cert/cert_database.h" |
| 21 #include "net/cert/cert_verifier.h" | 23 #include "net/cert/cert_verifier.h" |
| 22 #include "net/cert/cert_verify_result.h" | 24 #include "net/cert/cert_verify_result.h" |
| 23 #include "net/cert/x509_cert_types.h" | 25 #include "net/cert/x509_cert_types.h" |
| 24 | 26 |
| 25 namespace net { | 27 namespace net { |
| 26 | 28 |
| 27 class CertTrustAnchorProvider; | 29 class CertTrustAnchorProvider; |
| 28 class CertVerifierJob; | 30 class CertVerifierJob; |
| 29 class CertVerifierRequest; | 31 class CertVerifierRequest; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 | 164 |
| 163 scoped_refptr<CertVerifyProc> verify_proc_; | 165 scoped_refptr<CertVerifyProc> verify_proc_; |
| 164 | 166 |
| 165 CertTrustAnchorProvider* trust_anchor_provider_; | 167 CertTrustAnchorProvider* trust_anchor_provider_; |
| 166 | 168 |
| 167 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier); | 169 DISALLOW_COPY_AND_ASSIGN(MultiThreadedCertVerifier); |
| 168 }; | 170 }; |
| 169 | 171 |
| 170 } // namespace net | 172 } // namespace net |
| 171 | 173 |
| 174 namespace { | |
|
Ryan Sleevi
2014/05/30 22:46:24
Short answer: Don't use unnamed namespaces in .h f
mshelley
2014/05/31 00:38:19
Done.
| |
| 175 base::Value* CertVerifyResultCallback(net::CertVerifyResult verify_result, | |
| 176 net::NetLog::LogLevel log_level); | |
| 177 } | |
| 178 | |
| 172 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ | 179 #endif // NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_ |
| 180 | |
| OLD | NEW |