Home | History | Annotate | Download | only in policy
      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 
      8 namespace enterprise_management {
      9 class ChromeDeviceSettingsProto;
     10 }
     11 
     12 namespace policy {
     13 
     14 class EnterpriseInstallAttributes;
     15 class PolicyMap;
     16 
     17 // Decodes device policy in ChromeDeviceSettingsProto representation into the a
     18 // PolicyMap.
     19 void 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