OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_net/nss_ocsp.h" | 5 #include "net/cert_net/nss_ocsp.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
14 #include "net/base/test_completion_callback.h" | 15 #include "net/base/test_completion_callback.h" |
15 #include "net/base/test_data_directory.h" | 16 #include "net/base/test_data_directory.h" |
16 #include "net/cert/cert_status_flags.h" | 17 #include "net/cert/cert_status_flags.h" |
17 #include "net/cert/cert_verifier.h" | 18 #include "net/cert/cert_verifier.h" |
18 #include "net/cert/cert_verify_proc.h" | 19 #include "net/cert/cert_verify_proc.h" |
19 #include "net/cert/cert_verify_proc_nss.h" | 20 #include "net/cert/cert_verify_proc_nss.h" |
20 #include "net/cert/cert_verify_result.h" | 21 #include "net/cert/cert_verify_result.h" |
21 #include "net/cert/multi_threaded_cert_verifier.h" | 22 #include "net/cert/multi_threaded_cert_verifier.h" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 149 |
149 error = test_callback.WaitForResult(); | 150 error = test_callback.WaitForResult(); |
150 | 151 |
151 EXPECT_EQ(OK, error); | 152 EXPECT_EQ(OK, error); |
152 | 153 |
153 // Ensure that NSS made an AIA request for the missing intermediate. | 154 // Ensure that NSS made an AIA request for the missing intermediate. |
154 EXPECT_LT(0, request_count()); | 155 EXPECT_LT(0, request_count()); |
155 } | 156 } |
156 | 157 |
157 } // namespace net | 158 } // namespace net |
OLD | NEW |