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/ocsp/nss_ocsp.h" | 5 #include "net/ocsp/nss_ocsp.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/file_util.h" | |
10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
14 #include "net/base/test_completion_callback.h" | 14 #include "net/base/test_completion_callback.h" |
15 #include "net/base/test_data_directory.h" | 15 #include "net/base/test_data_directory.h" |
16 #include "net/cert/cert_status_flags.h" | 16 #include "net/cert/cert_status_flags.h" |
17 #include "net/cert/cert_verifier.h" | 17 #include "net/cert/cert_verifier.h" |
18 #include "net/cert/cert_verify_proc.h" | 18 #include "net/cert/cert_verify_proc.h" |
19 #include "net/cert/cert_verify_proc_nss.h" | 19 #include "net/cert/cert_verify_proc_nss.h" |
20 #include "net/cert/cert_verify_result.h" | 20 #include "net/cert/cert_verify_result.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 error = test_callback.WaitForResult(); | 156 error = test_callback.WaitForResult(); |
157 | 157 |
158 EXPECT_EQ(OK, error); | 158 EXPECT_EQ(OK, error); |
159 | 159 |
160 // Ensure that NSS made an AIA request for the missing intermediate. | 160 // Ensure that NSS made an AIA request for the missing intermediate. |
161 EXPECT_LT(0, request_count()); | 161 EXPECT_LT(0, request_count()); |
162 } | 162 } |
163 | 163 |
164 } // namespace net | 164 } // namespace net |
OLD | NEW |