Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / policy / device_policy_decoder_chromeos.h
blobbc9fc639b0e6e476cc15789b27815a3ec4b96333
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_
8 namespace enterprise_management {
9 class ChromeDeviceSettingsProto;
12 namespace policy {
14 class PolicyMap;
16 // Decodes device policy in ChromeDeviceSettingsProto representation into the a
17 // PolicyMap.
18 void DecodeDevicePolicy(
19 const enterprise_management::ChromeDeviceSettingsProto& policy,
20 PolicyMap* policies);
22 } // namespace policy
24 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_DECODER_CHROMEOS_H_