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