Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: chrome/browser/policy/device_policy_decoder_chromeos.h

Issue 10885015: Implement new-style CloudPolicyStore for Chrome OS device policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, fix compilation. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/device_policy_decoder_chromeos.h
diff --git a/chrome/browser/policy/device_policy_decoder_chromeos.h b/chrome/browser/policy/device_policy_decoder_chromeos.h
new file mode 100644
index 0000000000000000000000000000000000000000..49c5666a35e44fa4a3dd31e58c79e2896832617b
--- /dev/null
+++ b/chrome/browser/policy/device_policy_decoder_chromeos.h
@@ -0,0 +1,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_
« no previous file with comments | « chrome/browser/policy/device_policy_cache.cc ('k') | chrome/browser/policy/device_policy_decoder_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698