| 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 "chromeos/network/client_cert_util.h" | 5 #include "chromeos/network/client_cert_util.h" |
| 6 | 6 |
| 7 #include <cert.h> | 7 #include <cert.h> |
| 8 #include <pk11pub.h> | 8 #include <pk11pub.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 #include <string> | |
| 12 #include <vector> | |
| 13 | 11 |
| 14 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 16 #include "base/values.h" | 14 #include "base/values.h" |
| 17 #include "chromeos/network/certificate_pattern.h" | |
| 18 #include "chromeos/network/network_event_log.h" | 15 #include "chromeos/network/network_event_log.h" |
| 19 #include "components/onc/onc_constants.h" | 16 #include "components/onc/onc_constants.h" |
| 20 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 21 #include "net/cert/cert_database.h" | 18 #include "net/cert/cert_database.h" |
| 22 #include "net/cert/nss_cert_database.h" | 19 #include "net/cert/nss_cert_database.h" |
| 23 #include "net/cert/scoped_nss_types.h" | 20 #include "net/cert/scoped_nss_types.h" |
| 24 #include "net/cert/x509_cert_types.h" | 21 #include "net/cert/x509_cert_types.h" |
| 25 #include "net/cert/x509_certificate.h" | 22 #include "net/cert/x509_certificate.h" |
| 26 #include "third_party/cros_system_api/dbus/service_constants.h" | 23 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 27 | 24 |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 return !cert_id.empty() && !key_id.empty() && !identity.empty(); | 347 return !cert_id.empty() && !key_id.empty() && !identity.empty(); |
| 351 } | 348 } |
| 352 } | 349 } |
| 353 NOTREACHED(); | 350 NOTREACHED(); |
| 354 return false; | 351 return false; |
| 355 } | 352 } |
| 356 | 353 |
| 357 } // namespace client_cert | 354 } // namespace client_cert |
| 358 | 355 |
| 359 } // namespace chromeos | 356 } // namespace chromeos |
| OLD | NEW |