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