blob: 6fd3a042a7cfe81c79293156305b32a9d61970d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_
#define CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_
#pragma once
namespace policy {
// 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,
};
// 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,
};
} // namespace policy
#endif // CHROME_BROWSER_POLICY_POLICY_CONSTANTS_H_
|