| 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/onc/onc_signature.h" | 5 #include "chromeos/network/onc/onc_signature.h" | 
| 6 | 6 | 
| 7 #include "components/onc/onc_constants.h" | 7 #include "components/onc/onc_constants.h" | 
| 8 #include "third_party/cros_system_api/dbus/service_constants.h" | 8 #include "third_party/cros_system_api/dbus/service_constants.h" | 
| 9 | 9 | 
| 10 using base::Value; | 10 using base::Value; | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
| 41     {::onc::client_cert::kIssuerCARef, &kStringListSignature}, | 41     {::onc::client_cert::kIssuerCARef, &kStringListSignature}, | 
| 42     // Used internally. Not officially supported. | 42     // Used internally. Not officially supported. | 
| 43     {::onc::client_cert::kIssuerCAPEMs, &kStringListSignature}, | 43     {::onc::client_cert::kIssuerCAPEMs, &kStringListSignature}, | 
| 44     {::onc::client_cert::kSubject, &kIssuerSubjectPatternSignature}, | 44     {::onc::client_cert::kSubject, &kIssuerSubjectPatternSignature}, | 
| 45     {NULL}}; | 45     {NULL}}; | 
| 46 | 46 | 
| 47 const OncFieldSignature eap_fields[] = { | 47 const OncFieldSignature eap_fields[] = { | 
| 48     {::onc::kRecommended, &kRecommendedSignature}, | 48     {::onc::kRecommended, &kRecommendedSignature}, | 
| 49     {::onc::eap::kAnonymousIdentity, &kStringSignature}, | 49     {::onc::eap::kAnonymousIdentity, &kStringSignature}, | 
| 50     {::onc::client_cert::kClientCertPattern, &kCertificatePatternSignature}, | 50     {::onc::client_cert::kClientCertPattern, &kCertificatePatternSignature}, | 
|  | 51     {::onc::client_cert::kClientCertPKCS11Id, &kStringSignature}, | 
| 51     {::onc::client_cert::kClientCertRef, &kStringSignature}, | 52     {::onc::client_cert::kClientCertRef, &kStringSignature}, | 
| 52     {::onc::client_cert::kClientCertType, &kStringSignature}, | 53     {::onc::client_cert::kClientCertType, &kStringSignature}, | 
| 53     {::onc::eap::kIdentity, &kStringSignature}, | 54     {::onc::eap::kIdentity, &kStringSignature}, | 
| 54     {::onc::eap::kInner, &kStringSignature}, | 55     {::onc::eap::kInner, &kStringSignature}, | 
| 55     {::onc::eap::kOuter, &kStringSignature}, | 56     {::onc::eap::kOuter, &kStringSignature}, | 
| 56     {::onc::eap::kPassword, &kStringSignature}, | 57     {::onc::eap::kPassword, &kStringSignature}, | 
| 57     {::onc::eap::kSaveCredentials, &kBoolSignature}, | 58     {::onc::eap::kSaveCredentials, &kBoolSignature}, | 
| 58     // Used internally. Not officially supported. | 59     // Used internally. Not officially supported. | 
| 59     {::onc::eap::kServerCAPEMs, &kStringListSignature}, | 60     {::onc::eap::kServerCAPEMs, &kStringListSignature}, | 
| 60     // Deprecated. | 61     // Deprecated. | 
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 505     if (&signature == entry->value_signature && | 506     if (&signature == entry->value_signature && | 
| 506         onc_field_name == entry->field_name) { | 507         onc_field_name == entry->field_name) { | 
| 507       return true; | 508       return true; | 
| 508     } | 509     } | 
| 509   } | 510   } | 
| 510   return false; | 511   return false; | 
| 511 } | 512 } | 
| 512 | 513 | 
| 513 }  // namespace onc | 514 }  // namespace onc | 
| 514 }  // namespace chromeos | 515 }  // namespace chromeos | 
| OLD | NEW | 
|---|