Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: net/cert/cert_verify_proc_unittest.cc

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/audio/mac/audio_device_listener_mac.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « media/audio/mac/audio_device_listener_mac.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698