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

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

Issue 2891453002: Introduce networkingPrivate.getCertificateLists (Closed)
Patch Set: Clang format Created 3 years, 7 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/network_handler.cc ('k') | chromeos/network/onc/onc_translation_tables.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 "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
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
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
OLDNEW
« no previous file with comments | « chromeos/network/network_handler.cc ('k') | chromeos/network/onc/onc_translation_tables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698