Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2230)

Unified Diff: chrome/browser/policy/policy_map.h

Issue 9109009: Introduce CloudPolicyClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore DCHECKS. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/policy/policy_constants.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_map.h
diff --git a/chrome/browser/policy/policy_map.h b/chrome/browser/policy/policy_map.h
index 549673bded58e78a69c34a1d64a5c5dbf0484d20..a90c146ca80221e0a87344cc57889015507a15fb 100644
--- a/chrome/browser/policy/policy_map.h
+++ b/chrome/browser/policy/policy_map.h
@@ -11,32 +11,12 @@
#include <string>
#include "base/values.h"
+#include "chrome/browser/policy/policy_constants.h"
namespace policy {
struct PolicyDefinitionList;
-// The level of a policy determines its enforceability and whether users can
-// override it or not. The values are listed in increasing order of priority.
-enum PolicyLevel {
- // RECOMMENDED policies can be overridden by users. They are meant as a
- // default value configured by admins, that users can customize.
- POLICY_LEVEL_RECOMMENDED,
-
- // MANDATORY policies must be enforced and users can't circumvent them.
- POLICY_LEVEL_MANDATORY,
-};
-
-// The scope of a policy flags whether it is meant to be applied to the current
-// user or to the machine.
-enum PolicyScope {
- // USER policies apply to sessions of the current user.
- POLICY_SCOPE_USER,
-
- // MACHINE policies apply to any users of the current machine.
- POLICY_SCOPE_MACHINE,
-};
-
// A mapping of policy names to policy values for a given policy namespace.
class PolicyMap {
public:
« no previous file with comments | « chrome/browser/policy/policy_constants.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698