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_validator.h" | 5 #include "chromeos/network/onc/onc_validator.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 OncParams("ethernet.onc", &kNetworkConfigurationSignature, true), | 190 OncParams("ethernet.onc", &kNetworkConfigurationSignature, true), |
191 OncParams("ethernet_with_eap.onc", | 191 OncParams("ethernet_with_eap.onc", |
192 &kNetworkConfigurationSignature, | 192 &kNetworkConfigurationSignature, |
193 true), | 193 true), |
194 OncParams("translation_of_shill_ethernet_with_ipconfig.onc", | 194 OncParams("translation_of_shill_ethernet_with_ipconfig.onc", |
195 &kNetworkWithStateSignature, | 195 &kNetworkWithStateSignature, |
196 true), | 196 true), |
197 OncParams("translation_of_shill_wifi_with_state.onc", | 197 OncParams("translation_of_shill_wifi_with_state.onc", |
198 &kNetworkWithStateSignature, | 198 &kNetworkWithStateSignature, |
199 false), | 199 false), |
| 200 OncParams("translation_of_shill_cellular_with_state.onc", |
| 201 &kNetworkWithStateSignature, |
| 202 false), |
| 203 OncParams("translation_of_shill_wimax_with_state.onc", |
| 204 &kNetworkWithStateSignature, |
| 205 false), |
200 OncParams("valid_openvpn_with_cert_pems.onc", | 206 OncParams("valid_openvpn_with_cert_pems.onc", |
201 &kNetworkConfigurationSignature, | 207 &kNetworkConfigurationSignature, |
202 false), | 208 false), |
203 OncParams("openvpn_with_password.onc", | 209 OncParams("openvpn_with_password.onc", |
204 &kNetworkConfigurationSignature, | 210 &kNetworkConfigurationSignature, |
205 false))); | 211 false))); |
206 | 212 |
207 namespace { | 213 namespace { |
208 | 214 |
209 struct RepairParams { | 215 struct RepairParams { |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 true, | 526 true, |
521 ::onc::ONC_SOURCE_DEVICE_POLICY), | 527 ::onc::ONC_SOURCE_DEVICE_POLICY), |
522 ExpectBothNotValid("", "")), | 528 ExpectBothNotValid("", "")), |
523 std::make_pair(OncParams("openvpn-invalid-verify-x509-type", | 529 std::make_pair(OncParams("openvpn-invalid-verify-x509-type", |
524 &kNetworkConfigurationSignature, | 530 &kNetworkConfigurationSignature, |
525 false), | 531 false), |
526 ExpectBothNotValid("", "")))); | 532 ExpectBothNotValid("", "")))); |
527 | 533 |
528 } // namespace onc | 534 } // namespace onc |
529 } // namespace chromeos | 535 } // namespace chromeos |
OLD | NEW |