blob: 49c5666a35e44fa4a3dd31e58c79e2896832617b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_
#define CHROME_BROWSER_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_
namespace enterprise_management {
class ChromeDeviceSettingsProto;
}
namespace policy {
class EnterpriseInstallAttributes;
class PolicyMap;
// Decodes device policy in ChromeDeviceSettingsProto representation into the a
// PolicyMap.
void DecodeDevicePolicy(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PolicyMap* policies,
EnterpriseInstallAttributes* install_attributes);
} // namespace policy
#endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_
|