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

Side by Side Diff: chrome/browser/policy/policy_types.h

Issue 10917266: Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "poli… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « chrome/browser/policy/policy_map.h ('k') | chrome/browser/policy/user_cloud_policy_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_POLICY_POLICY_TYPES_H_
6 #define CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_ 6 #define CHROME_BROWSER_POLICY_POLICY_TYPES_H_
7 7
8 namespace policy { 8 namespace policy {
9 9
10 // The scope of a policy flags whether it is meant to be applied to the current 10 // The scope of a policy flags whether it is meant to be applied to the current
11 // user or to the machine. 11 // user or to the machine.
12 enum PolicyScope { 12 enum PolicyScope {
13 // USER policies apply to sessions of the current user. 13 // USER policies apply to sessions of the current user.
14 POLICY_SCOPE_USER, 14 POLICY_SCOPE_USER,
15 15
16 // MACHINE policies apply to any users of the current machine. 16 // MACHINE policies apply to any users of the current machine.
17 POLICY_SCOPE_MACHINE, 17 POLICY_SCOPE_MACHINE,
18 }; 18 };
19 19
20 // The level of a policy determines its enforceability and whether users can 20 // The level of a policy determines its enforceability and whether users can
21 // override it or not. The values are listed in increasing order of priority. 21 // override it or not. The values are listed in increasing order of priority.
22 enum PolicyLevel { 22 enum PolicyLevel {
23 // RECOMMENDED policies can be overridden by users. They are meant as a 23 // RECOMMENDED policies can be overridden by users. They are meant as a
24 // default value configured by admins, that users can customize. 24 // default value configured by admins, that users can customize.
25 POLICY_LEVEL_RECOMMENDED, 25 POLICY_LEVEL_RECOMMENDED,
26 26
27 // MANDATORY policies must be enforced and users can't circumvent them. 27 // MANDATORY policies must be enforced and users can't circumvent them.
28 POLICY_LEVEL_MANDATORY, 28 POLICY_LEVEL_MANDATORY,
29 }; 29 };
30 30
31 } // namespace policy 31 } // namespace policy
32 32
33 #endif // CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_ 33 #endif // CHROME_BROWSER_POLICY_POLICY_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_map.h ('k') | chrome/browser/policy/user_cloud_policy_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698