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..bfbb14d61ee6c8b08f06e4338708496b717c3988 100644 |
| --- a/components/policy/core/common/policy_types.h |
| +++ b/components/policy/core/common/policy_types.h |
| @@ -28,6 +28,24 @@ enum PolicyLevel { |
| POLICY_LEVEL_MANDATORY, |
| }; |
| +// The source of a policy indicates where its value is originating from. |
| +enum PolicySource { |
| + // The policy was set because session is an enterprise environment. |
|
bartfab (slow)
2015/09/17 15:45:51
Nit 1: s/because/because the/
Nit 2: It would be n
fhorschig
2015/09/18 08:30:22
Done.
|
| + POLICY_SOURCE_ENTERPRISE_DEFAULT, |
| + |
| + // The policy was overridden because session is an enterprise environment. |
|
bartfab (slow)
2015/09/17 15:45:51
Nit 1: s/because/because the/
Nit 2: It would be n
fhorschig
2015/09/18 08:30:22
Done.
|
| + POLICY_SOURCE_ENTERPRISE_OVERRIDE, |
| + |
| + // The policy was set by a platform source. |
| + POLICY_SOURCE_PLATFORM, |
| + |
| + // The policy was set by a cloud source. |
| + POLICY_SOURCE_CLOUD, |
| + |
| + // Number of source types. Has to be the last element. |
| + POLICY_SOURCE_COUNT |
| +}; |
| + |
| } // namespace policy |
| #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_TYPES_H_ |