Chromium Code Reviews| Index: components/policy/core/common/policy_types.h |
| diff --git a/components/policy/core/common/policy_types.h b/components/policy/core/common/policy_types.h |
| index 07289ca3ba04690360a82ab1752e3fa2ae86bb75..a497381f4f25ee13e2fe3ef95d16bf098348d0b9 100644 |
| --- a/components/policy/core/common/policy_types.h |
| +++ b/components/policy/core/common/policy_types.h |
| @@ -28,6 +28,21 @@ enum PolicyLevel { |
| POLICY_LEVEL_MANDATORY, |
| }; |
| +// The source of a policy indicates where its value is originating from. |
| +enum PolicySource { |
| + // The Default value of a policy source. |
| + POLICY_SOURCE_DEFAULT, |
|
Thiemo Nagel
2015/09/01 17:40:37
POLICY_SOURCE_UNKNOWN would seem like a more descr
fhorschig
2015/09/04 06:53:54
Done.
|
| + |
| + // If the policies default was determined by enterprise default settings. |
| + POLICY_SOURCE_ENTERPRISE_DEFAULT, |
| + |
| + // If the policy is set by a source specifically for this platform. |
| + POLICY_SOURCE_PLATFORM, |
| + |
| + // If the policy originates from a cloud source. |
| + POLICY_SOURCE_CLOUD |
| +}; |
| + |
| } // namespace policy |
| #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_TYPES_H_ |