| 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 7535eeb0ad2a15cb4b9d6247405d9ea9527d3df3..fc75e2d30b3234ea8f37e51774c0a6fe491cf458 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_constants.h
|
| +++ b/components/policy/core/common/cloud/cloud_policy_constants.h
|
| @@ -126,27 +126,6 @@ enum DeviceMode {
|
| // launch a kiosk webapp.
|
| };
|
|
|
| -// An enum that indicates if a device that has a local owner, is enterprise-
|
| -// managed, or is consumer-managed. This is a copy of ManagementMode in
|
| -// PolicyData. See device_management_backend.proto for the explanation of each
|
| -// mode.
|
| -enum ManagementMode {
|
| - MANAGEMENT_MODE_LOCAL_OWNER = 0,
|
| - MANAGEMENT_MODE_ENTERPRISE_MANAGED = 1,
|
| - 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.
|
| -POLICY_EXPORT ManagementMode GetManagementMode(
|
| - const enterprise_management::PolicyData& policy_data);
|
| -
|
| } // namespace policy
|
|
|
| #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
|
|
|