| 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 "chrome/browser/chromeos/network_settings/onc_merger.h" | 5 #include "chromeos/network/onc_merger.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/values.h" | 12 #include "base/values.h" |
| 13 #include "chrome/browser/chromeos/cros/onc_constants.h" | 13 #include "chromeos/network/onc_constants.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 namespace onc { | 16 namespace onc { |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| 19 typedef scoped_ptr<base::DictionaryValue> DictionaryPtr; | 19 typedef scoped_ptr<base::DictionaryValue> DictionaryPtr; |
| 20 | 20 |
| 21 // Inserts |true| at every field name in |result| that is recommended in policy. | 21 // Inserts |true| at every field name in |result| that is recommended in policy. |
| 22 void MarkRecommendedFieldnames(const base::DictionaryValue& policy, | 22 void MarkRecommendedFieldnames(const base::DictionaryValue& policy, |
| 23 base::DictionaryValue* result) { | 23 base::DictionaryValue* result) { |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 MergeDictionaryIfNotNULL(reduced_shared_onc.get(), result.get()); | 165 MergeDictionaryIfNotNULL(reduced_shared_onc.get(), result.get()); |
| 166 MergeDictionaryIfNotNULL(reduced_user_onc.get(), result.get()); | 166 MergeDictionaryIfNotNULL(reduced_user_onc.get(), result.get()); |
| 167 MergeDictionaryIfNotNULL(device_mandatory.get(), result.get()); | 167 MergeDictionaryIfNotNULL(device_mandatory.get(), result.get()); |
| 168 MergeDictionaryIfNotNULL(user_mandatory.get(), result.get()); | 168 MergeDictionaryIfNotNULL(user_mandatory.get(), result.get()); |
| 169 | 169 |
| 170 return result.Pass(); | 170 return result.Pass(); |
| 171 } | 171 } |
| 172 | 172 |
| 173 } // namespace onc | 173 } // namespace onc |
| 174 } // namespace chromeos | 174 } // namespace chromeos |
| OLD | NEW |