| 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/policy/device_policy_decoder_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/device_policy_decoder_chromeos.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 POLICY_SCOPE_MACHINE, | 767 POLICY_SCOPE_MACHINE, |
| 768 new base::StringValue(container.login_screen_domain_auto_complete()), | 768 new base::StringValue(container.login_screen_domain_auto_complete()), |
| 769 nullptr); | 769 nullptr); |
| 770 } | 770 } |
| 771 } | 771 } |
| 772 | 772 |
| 773 } // namespace | 773 } // namespace |
| 774 | 774 |
| 775 void DecodeDevicePolicy(const em::ChromeDeviceSettingsProto& policy, | 775 void DecodeDevicePolicy(const em::ChromeDeviceSettingsProto& policy, |
| 776 PolicyMap* policies) { | 776 PolicyMap* policies) { |
| 777 // TODO(achuith): Remove this once crbug.com/263527 is resolved. | |
| 778 VLOG(2) << "DecodeDevicePolicy " << policy.SerializeAsString(); | |
| 779 | |
| 780 // Decode the various groups of policies. | 777 // Decode the various groups of policies. |
| 781 DecodeLoginPolicies(policy, policies); | 778 DecodeLoginPolicies(policy, policies); |
| 782 DecodeNetworkPolicies(policy, policies); | 779 DecodeNetworkPolicies(policy, policies); |
| 783 DecodeReportingPolicies(policy, policies); | 780 DecodeReportingPolicies(policy, policies); |
| 784 DecodeAutoUpdatePolicies(policy, policies); | 781 DecodeAutoUpdatePolicies(policy, policies); |
| 785 DecodeAccessibilityPolicies(policy, policies); | 782 DecodeAccessibilityPolicies(policy, policies); |
| 786 DecodeGenericPolicies(policy, policies); | 783 DecodeGenericPolicies(policy, policies); |
| 787 } | 784 } |
| 788 | 785 |
| 789 } // namespace policy | 786 } // namespace policy |
| OLD | NEW |