| 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 #include "net/cert/cert_verify_proc.h" | 5 #include "net/cert/cert_verify_proc.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "net/cert/crl_set.h" | 22 #include "net/cert/crl_set.h" |
| 23 #include "net/cert/crl_set_storage.h" | 23 #include "net/cert/crl_set_storage.h" |
| 24 #include "net/cert/test_root_certs.h" | 24 #include "net/cert/test_root_certs.h" |
| 25 #include "net/cert/x509_certificate.h" | 25 #include "net/cert/x509_certificate.h" |
| 26 #include "net/test/cert_test_util.h" | 26 #include "net/test/cert_test_util.h" |
| 27 #include "net/test/test_certificate_data.h" | 27 #include "net/test/test_certificate_data.h" |
| 28 #include "testing/gtest/include/gtest/gtest.h" | 28 #include "testing/gtest/include/gtest/gtest.h" |
| 29 | 29 |
| 30 #if defined(OS_WIN) | 30 #if defined(OS_WIN) |
| 31 #include "base/win/windows_version.h" | 31 #include "base/win/windows_version.h" |
| 32 #elif defined(OS_MACOSX) && !defined(OS_IOS) | |
| 33 #include "base/mac/mac_util.h" | |
| 34 #elif defined(OS_ANDROID) | 32 #elif defined(OS_ANDROID) |
| 35 #include "base/android/build_info.h" | 33 #include "base/android/build_info.h" |
| 36 #endif | 34 #endif |
| 37 | 35 |
| 38 using base::HexEncode; | 36 using base::HexEncode; |
| 39 | 37 |
| 40 namespace net { | 38 namespace net { |
| 41 | 39 |
| 42 namespace { | 40 namespace { |
| 43 | 41 |
| (...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1570 EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_COMMON_NAME_INVALID); | 1568 EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_COMMON_NAME_INVALID); |
| 1571 } | 1569 } |
| 1572 } | 1570 } |
| 1573 | 1571 |
| 1574 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1572 WRAPPED_INSTANTIATE_TEST_CASE_P( |
| 1575 VerifyName, | 1573 VerifyName, |
| 1576 CertVerifyProcNameTest, | 1574 CertVerifyProcNameTest, |
| 1577 testing::ValuesIn(kVerifyNameData)); | 1575 testing::ValuesIn(kVerifyNameData)); |
| 1578 | 1576 |
| 1579 } // namespace net | 1577 } // namespace net |
| OLD | NEW |