| 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 CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_ |
| 7 | 7 |
| 8 namespace enterprise_management { | 8 namespace enterprise_management { |
| 9 class ChromeDeviceSettingsProto; | 9 class ChromeDeviceSettingsProto; |
| 10 } | 10 } |
| 11 | 11 |
| 12 namespace policy { | 12 namespace policy { |
| 13 | 13 |
| 14 class EnterpriseInstallAttributes; | |
| 15 class PolicyMap; | 14 class PolicyMap; |
| 16 | 15 |
| 17 // Decodes device policy in ChromeDeviceSettingsProto representation into the a | 16 // Decodes device policy in ChromeDeviceSettingsProto representation into the a |
| 18 // PolicyMap. | 17 // PolicyMap. |
| 19 void DecodeDevicePolicy( | 18 void DecodeDevicePolicy( |
| 20 const enterprise_management::ChromeDeviceSettingsProto& policy, | 19 const enterprise_management::ChromeDeviceSettingsProto& policy, |
| 21 PolicyMap* policies, | 20 PolicyMap* policies); |
| 22 EnterpriseInstallAttributes* install_attributes); | |
| 23 | 21 |
| 24 } // namespace policy | 22 } // namespace policy |
| 25 | 23 |
| 26 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_ | 24 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_ |
| OLD | NEW |