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