| // |
| // DO NOT MODIFY THIS FILE DIRECTLY! |
| // IT IS GENERATED BY generate_policy_source.py |
| // FROM gen/chrome/app/policy/policy_templates.json |
| // |
| |
| #ifndef CHROME_COMMON_POLICY_RISK_TAG_H_ |
| #define CHROME_COMMON_POLICY_RISK_TAG_H_ |
| |
| #include <stddef.h> |
| |
| namespace policy { |
| |
| // The tag of a policy indicates which impact a policy can have on |
| // a user's privacy and/or security. Ordered descending by |
| // impact. |
| // The explanation of the single tags is stated in |
| // policy_templates.json within the 'risk_tag_definitions' tag. |
| enum RiskTag : uint8_t { |
| RISK_TAG_ADMIN_SHARING, |
| RISK_TAG_FILTERING, |
| RISK_TAG_FULL_ADMIN_ACCESS, |
| RISK_TAG_GOOGLE_SHARING, |
| RISK_TAG_LOCAL_DATA_ACCESS, |
| RISK_TAG_SYSTEM_SECURITY, |
| RISK_TAG_WEBSITE_SHARING, |
| RISK_TAG_COUNT, |
| RISK_TAG_NONE |
| }; |
| |
| // This constant describes how many risk tags were used by the |
| // policy which uses the most risk tags. |
| const size_t kMaxRiskTagCount = 3; |
| |
| } // namespace policy |
| |
| |
| #endif // CHROME_COMMON_POLICY_RISK_TAG_H_ |