| OLD | NEW |
| 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/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" | 22 #include "net/base/crypto_module.h" |
| 23 #include "net/cert/cert_type.h" | 23 #include "net/cert/cert_type.h" |
| 24 #include "net/cert/nss_cert_database_chromeos.h" | 24 #include "net/cert/nss_cert_database_chromeos.h" |
| 25 #include "net/cert/x509_certificate.h" | 25 #include "net/cert/x509_certificate.h" |
| 26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
| 27 | 27 |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 "certificate-client-update.onc"), | 342 "certificate-client-update.onc"), |
| 343 CertParam(net::SERVER_CERT, | 343 CertParam(net::SERVER_CERT, |
| 344 "certificate-server.onc", | 344 "certificate-server.onc", |
| 345 "certificate-server-update.onc"), | 345 "certificate-server-update.onc"), |
| 346 CertParam(net::CA_CERT, | 346 CertParam(net::CA_CERT, |
| 347 "certificate-web-authority.onc", | 347 "certificate-web-authority.onc", |
| 348 "certificate-web-authority-update.onc"))); | 348 "certificate-web-authority-update.onc"))); |
| 349 | 349 |
| 350 } // namespace onc | 350 } // namespace onc |
| 351 } // namespace chromeos | 351 } // namespace chromeos |
| OLD | NEW |