| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_WEB_NET_CERT_VERIFIER_BLOCK_ADAPTER_H_ | 5 #ifndef IOS_WEB_NET_CERT_VERIFIER_BLOCK_ADAPTER_H_ |
| 6 #define IOS_WEB_NET_CERT_VERIFIER_BLOCK_ADAPTER_H_ | 6 #define IOS_WEB_NET_CERT_VERIFIER_BLOCK_ADAPTER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
| 10 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
| 11 #include "net/cert/cert_verifier.h" | 10 #include "net/cert/cert_verifier.h" |
| 12 #include "net/cert/cert_verify_result.h" | 11 #include "net/cert/cert_verify_result.h" |
| 13 | 12 |
| 14 namespace net { | 13 namespace net { |
| 15 class CRLSet; | 14 class CRLSet; |
| 16 class NetLog; | 15 class NetLog; |
| 17 class X509Certificate; | 16 class X509Certificate; |
| 18 } // namespace net | 17 } // namespace net |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // Unowned NetLog required by CertVerifier. | 78 // Unowned NetLog required by CertVerifier. |
| 80 net::NetLog* net_log_; | 79 net::NetLog* net_log_; |
| 81 // CertVerifierBlockAdapter should be used on the same thread where it was | 80 // CertVerifierBlockAdapter should be used on the same thread where it was |
| 82 // created. | 81 // created. |
| 83 base::ThreadChecker thread_checker_; | 82 base::ThreadChecker thread_checker_; |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 } // namespace web | 85 } // namespace web |
| 87 | 86 |
| 88 #endif // IOS_WEB_NET_CERT_VERIFIER_BLOCK_ADAPTER_H_ | 87 #endif // IOS_WEB_NET_CERT_VERIFIER_BLOCK_ADAPTER_H_ |
| OLD | NEW |