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

Side by Side Diff: chromeos/network/onc/onc_certificate_importer_impl_unittest.cc

Issue 2724013002: net: remove CryptoModule class (Closed)
Patch Set: Created 3 years, 9 months 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 | « chromeos/network/onc/onc_certificate_importer_impl.cc ('k') | net/BUILD.gn » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chromeos/network/onc/onc_certificate_importer_impl.h" 5 #include "chromeos/network/onc/onc_certificate_importer_impl.h"
6 6
7 #include <cert.h> 7 #include <cert.h>
8 #include <certdb.h> 8 #include <certdb.h>
9 #include <keyhi.h> 9 #include <keyhi.h>
10 #include <pk11pub.h> 10 #include <pk11pub.h>
11 #include <string> 11 #include <string>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/test/test_simple_task_runner.h" 16 #include "base/test/test_simple_task_runner.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chromeos/network/onc/onc_test_utils.h" 19 #include "chromeos/network/onc/onc_test_utils.h"
20 #include "components/onc/onc_constants.h" 20 #include "components/onc/onc_constants.h"
21 #include "crypto/scoped_test_nss_db.h" 21 #include "crypto/scoped_test_nss_db.h"
22 #include "net/base/crypto_module.h"
23 #include "net/base/hash_value.h" 22 #include "net/base/hash_value.h"
24 #include "net/cert/cert_type.h" 23 #include "net/cert/cert_type.h"
25 #include "net/cert/nss_cert_database_chromeos.h" 24 #include "net/cert/nss_cert_database_chromeos.h"
26 #include "net/cert/x509_certificate.h" 25 #include "net/cert/x509_certificate.h"
27 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
28 27
29 namespace chromeos { 28 namespace chromeos {
30 namespace onc { 29 namespace onc {
31 30
32 namespace { 31 namespace {
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 "certificate-client-update.onc"), 349 "certificate-client-update.onc"),
351 CertParam(net::SERVER_CERT, 350 CertParam(net::SERVER_CERT,
352 "certificate-server.onc", 351 "certificate-server.onc",
353 "certificate-server-update.onc"), 352 "certificate-server-update.onc"),
354 CertParam(net::CA_CERT, 353 CertParam(net::CA_CERT,
355 "certificate-web-authority.onc", 354 "certificate-web-authority.onc",
356 "certificate-web-authority-update.onc"))); 355 "certificate-web-authority-update.onc")));
357 356
358 } // namespace onc 357 } // namespace onc
359 } // namespace chromeos 358 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_certificate_importer_impl.cc ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698