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

Unified Diff: components/policy/core/common/cloud/cloud_policy_constants.h

Issue 769703003: SetManagementSettings() is moved to OwnerSettingsServiceChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Failing test fixed. Created 6 years 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: components/policy/core/common/cloud/cloud_policy_constants.h
diff --git a/components/policy/core/common/cloud/cloud_policy_constants.h b/components/policy/core/common/cloud/cloud_policy_constants.h
index 1ef1ed9f809a484e1d34dfededb1d605966cdbf1..6033146b124f0efd086b2b9966d749bd6bb706e4 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.h
+++ b/components/policy/core/common/cloud/cloud_policy_constants.h
@@ -141,6 +141,11 @@ enum ManagementMode {
MANAGEMENT_MODE_CONSUMER_MANAGED = 2,
};
+// Sets management mode field in the |policy_data|.
+POLICY_EXPORT void SetManagementMode(
+ enterprise_management::PolicyData& policy_data,
+ ManagementMode mode);
+
// Returns the management mode of |policy_data|. You should use this function
// instead of using |management_mode| in |policy_data| to handle legacy
// |policy_data| that doesn't have |management_mode| set.

Powered by Google App Engine
This is Rietveld 408576698