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

Side by Side Diff: chrome/browser/policy/policy_constants.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_
6 #define CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_
7 #pragma once
8
9 namespace policy {
10
11 // The scope of a policy flags whether it is meant to be applied to the current
12 // user or to the machine.
13 enum PolicyScope {
14 // USER policies apply to sessions of the current user.
15 POLICY_SCOPE_USER,
16
17 // MACHINE policies apply to any users of the current machine.
18 POLICY_SCOPE_MACHINE,
19 };
20
21 // The level of a policy determines its enforceability and whether users can
22 // override it or not. The values are listed in increasing order of priority.
23 enum PolicyLevel {
24 // RECOMMENDED policies can be overridden by users. They are meant as a
25 // default value configured by admins, that users can customize.
26 POLICY_LEVEL_RECOMMENDED,
27
28 // MANDATORY policies must be enforced and users can't circumvent them.
29 POLICY_LEVEL_MANDATORY,
30 };
31
32 } // namespace policy
33
34 #endif // CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/mock_device_management_service.cc ('k') | chrome/browser/policy/policy_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698