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..cc30751ba070979ab54d1474198066fb35559bc0 100644 |
| --- a/components/policy/core/common/policy_types.h |
| +++ b/components/policy/core/common/policy_types.h |
| @@ -28,6 +28,25 @@ 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. |
|
Thiemo Nagel
2015/09/04 20:15:54
"Default" --> "default"
fhorschig
2015/09/07 14:09:34
Done.
|
| + POLICY_SOURCE_UNKNOWN, |
| + |
| + // If the policy's default was determined by enterprise default settings. |
| + POLICY_SOURCE_ENTERPRISE_DEFAULT, |
| + |
| + // If the policy was set programmatically set to an unchangeable value (e.g. |
|
Thiemo Nagel
2015/09/04 20:15:54
"set programmatically set" --> "programmatically s
fhorschig
2015/09/07 14:09:34
Done.
|
| + // to enforce ash tray visibility in public sessions) |
|
Thiemo Nagel
2015/09/04 20:15:54
Missing period at end of sentence.
fhorschig
2015/09/07 14:09:34
Done.
|
| + POLICY_SOURCE_ENFORCED, |
|
Thiemo Nagel
2015/09/04 20:15:54
ENFORCED seems unclear because all mandatory polic
fhorschig
2015/09/07 14:09:34
All policies are set programmatically in some way,
|
| + |
| + // If the policy is set by a source specifically for this platform. |
|
Thiemo Nagel
2015/09/04 20:15:54
"source specifically for this platform" --> "platf
fhorschig
2015/09/07 14:09:34
Done.
|
| + POLICY_SOURCE_PLATFORM, |
| + |
| + // If the policy originates from a cloud source. |
| + POLICY_SOURCE_CLOUD |
| +}; |
| + |
| } // namespace policy |
| #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_TYPES_H_ |