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

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

Issue 78763002: Move PolicyMap and its dependencies to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export nested struct Created 7 years, 1 month 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
Index: chrome/browser/policy/policy_types.h
diff --git a/chrome/browser/policy/policy_types.h b/chrome/browser/policy/policy_types.h
deleted file mode 100644
index cdd5aea87e33be153e07c64d369ba61c0f726403..0000000000000000000000000000000000000000
--- a/chrome/browser/policy/policy_types.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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_TYPES_H_
-#define CHROME_BROWSER_POLICY_POLICY_TYPES_H_
-
-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_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698