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/base/ev_root_ca_metadata.h" | 5 #include "net/cert/ev_root_ca_metadata.h" |
6 | 6 |
7 #include "net/base/cert_test_util.h" | 7 #include "net/cert/x509_cert_types.h" |
8 #include "net/base/x509_cert_types.h" | 8 #include "net/test/cert_test_util.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 | 10 |
11 #if defined(USE_NSS) | 11 #if defined(USE_NSS) |
12 #include "crypto/scoped_nss_types.h" | 12 #include "crypto/scoped_nss_types.h" |
13 #endif | 13 #endif |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 EXPECT_FALSE(ev_metadata->IsEVPolicyOID(ev_oid_data.fake_policy)); | 135 EXPECT_FALSE(ev_metadata->IsEVPolicyOID(ev_oid_data.fake_policy)); |
136 EXPECT_FALSE(ev_metadata->HasEVPolicyOID(kFakeFingerprint, | 136 EXPECT_FALSE(ev_metadata->HasEVPolicyOID(kFakeFingerprint, |
137 ev_oid_data.fake_policy)); | 137 ev_oid_data.fake_policy)); |
138 } | 138 } |
139 | 139 |
140 #endif // defined(USE_NSS) || defined(OS_WIN) | 140 #endif // defined(USE_NSS) || defined(OS_WIN) |
141 | 141 |
142 } // namespace | 142 } // namespace |
143 | 143 |
144 } // namespace net | 144 } // namespace net |
OLD | NEW |