| 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 #ifndef CHROMEOS_NETWORK_ONC_ONC_SIGNATURE_H_ | 5 #ifndef CHROMEOS_NETWORK_ONC_ONC_SIGNATURE_H_ |
| 6 #define CHROMEOS_NETWORK_ONC_ONC_SIGNATURE_H_ | 6 #define CHROMEOS_NETWORK_ONC_ONC_SIGNATURE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 base::Value::Type onc_type; | 24 base::Value::Type onc_type; |
| 25 const OncFieldSignature* fields; | 25 const OncFieldSignature* fields; |
| 26 const OncValueSignature* onc_array_entry_signature; | 26 const OncValueSignature* onc_array_entry_signature; |
| 27 const OncValueSignature* base_signature; | 27 const OncValueSignature* base_signature; |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 CHROMEOS_EXPORT const OncFieldSignature* GetFieldSignature( | 30 CHROMEOS_EXPORT const OncFieldSignature* GetFieldSignature( |
| 31 const OncValueSignature& signature, | 31 const OncValueSignature& signature, |
| 32 const std::string& onc_field_name); | 32 const std::string& onc_field_name); |
| 33 | 33 |
| 34 CHROMEOS_EXPORT bool FieldIsCredential( | 34 CHROMEOS_EXPORT bool FieldIsCredential(const OncValueSignature& signature, |
| 35 const OncValueSignature& signature, | 35 const std::string& onc_field_name); |
| 36 const std::string& onc_field_name); | |
| 37 | 36 |
| 38 CHROMEOS_EXPORT extern const OncValueSignature kRecommendedSignature; | 37 CHROMEOS_EXPORT extern const OncValueSignature kRecommendedSignature; |
| 39 CHROMEOS_EXPORT extern const OncValueSignature kEAPSignature; | 38 CHROMEOS_EXPORT extern const OncValueSignature kEAPSignature; |
| 40 CHROMEOS_EXPORT extern const OncValueSignature kIssuerSubjectPatternSignature; | 39 CHROMEOS_EXPORT extern const OncValueSignature kIssuerSubjectPatternSignature; |
| 41 CHROMEOS_EXPORT extern const OncValueSignature kCertificatePatternSignature; | 40 CHROMEOS_EXPORT extern const OncValueSignature kCertificatePatternSignature; |
| 42 CHROMEOS_EXPORT extern const OncValueSignature kIPsecSignature; | 41 CHROMEOS_EXPORT extern const OncValueSignature kIPsecSignature; |
| 43 CHROMEOS_EXPORT extern const OncValueSignature kL2TPSignature; | 42 CHROMEOS_EXPORT extern const OncValueSignature kL2TPSignature; |
| 44 CHROMEOS_EXPORT extern const OncValueSignature kXAUTHSignature; | 43 CHROMEOS_EXPORT extern const OncValueSignature kXAUTHSignature; |
| 45 CHROMEOS_EXPORT extern const OncValueSignature kOpenVPNSignature; | 44 CHROMEOS_EXPORT extern const OncValueSignature kOpenVPNSignature; |
| 46 CHROMEOS_EXPORT extern const OncValueSignature kThirdPartyVPNSignature; | 45 CHROMEOS_EXPORT extern const OncValueSignature kThirdPartyVPNSignature; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 72 CHROMEOS_EXPORT extern const OncValueSignature kCellularWithStateSignature; | 71 CHROMEOS_EXPORT extern const OncValueSignature kCellularWithStateSignature; |
| 73 CHROMEOS_EXPORT extern const OncValueSignature kCellularProviderSignature; | 72 CHROMEOS_EXPORT extern const OncValueSignature kCellularProviderSignature; |
| 74 CHROMEOS_EXPORT extern const OncValueSignature kCellularApnSignature; | 73 CHROMEOS_EXPORT extern const OncValueSignature kCellularApnSignature; |
| 75 CHROMEOS_EXPORT extern const OncValueSignature kCellularFoundNetworkSignature; | 74 CHROMEOS_EXPORT extern const OncValueSignature kCellularFoundNetworkSignature; |
| 76 CHROMEOS_EXPORT extern const OncValueSignature kSIMLockStatusSignature; | 75 CHROMEOS_EXPORT extern const OncValueSignature kSIMLockStatusSignature; |
| 77 | 76 |
| 78 } // namespace onc | 77 } // namespace onc |
| 79 } // namespace chromeos | 78 } // namespace chromeos |
| 80 | 79 |
| 81 #endif // CHROMEOS_NETWORK_ONC_ONC_SIGNATURE_H_ | 80 #endif // CHROMEOS_NETWORK_ONC_ONC_SIGNATURE_H_ |
| OLD | NEW |