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_utils.h" | 5 #include "chromeos/network/onc/onc_utils.h" |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chromeos/network/network_event_log.h" | 13 #include "chromeos/network/network_event_log.h" |
14 #include "chromeos/network/onc/onc_mapper.h" | 14 #include "chromeos/network/onc/onc_mapper.h" |
15 #include "chromeos/network/onc/onc_signature.h" | 15 #include "chromeos/network/onc/onc_signature.h" |
16 #include "chromeos/network/onc/onc_utils.h" | 16 #include "chromeos/network/onc/onc_utils.h" |
17 #include "chromeos/network/onc/onc_validator.h" | 17 #include "chromeos/network/onc/onc_validator.h" |
18 #include "crypto/encryptor.h" | 18 #include "crypto/encryptor.h" |
19 #include "crypto/hmac.h" | 19 #include "crypto/hmac.h" |
20 #include "crypto/symmetric_key.h" | 20 #include "crypto/symmetric_key.h" |
21 | 21 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 if (toplevel_onc->GetListWithoutPathExpansion( | 343 if (toplevel_onc->GetListWithoutPathExpansion( |
344 onc::toplevel_config::kNetworkConfigurations, &validated_networks)) { | 344 onc::toplevel_config::kNetworkConfigurations, &validated_networks)) { |
345 network_configs->Swap(validated_networks); | 345 network_configs->Swap(validated_networks); |
346 } | 346 } |
347 | 347 |
348 return success; | 348 return success; |
349 } | 349 } |
350 | 350 |
351 } // namespace onc | 351 } // namespace onc |
352 } // namespace chromeos | 352 } // namespace chromeos |
OLD | NEW |