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

Unified Diff: chrome/browser/prefs/pref_notifier.h

Issue 4876002: Create additional PrefStore for Device Management policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 10 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/prefs/pref_notifier.h
diff --git a/chrome/browser/prefs/pref_notifier.h b/chrome/browser/prefs/pref_notifier.h
index 98dc1e3999088e8675d14c6a7557d3518cdf7e7c..7334a514f29d28d87745abd0d9b980447a2a87bb 100644
--- a/chrome/browser/prefs/pref_notifier.h
+++ b/chrome/browser/prefs/pref_notifier.h
@@ -27,7 +27,11 @@ class PrefNotifier : public NonThreadSafe,
public NotificationObserver {
public:
// PrefStores must be listed here in order from highest to lowest priority.
- // MANAGED contains all managed (policy) preference values.
+ // MANAGED_PLATFORM contains all managed preference values that are
+ // provided by a platform-specific policy mechanism (e.g. Windows
+ // Group Policy).
+ // DEVICE_MANAGEMENT contains all managed preference values supplied
+ // by the device management server (cloud policy).
// EXTENSION contains preference values set by extensions.
// COMMAND_LINE contains preference values set by command-line switches.
// USER contains all user-set preference values.
@@ -39,7 +43,8 @@ class PrefNotifier : public NonThreadSafe,
// INVALID_STORE is not associated with an actual PrefStore but used as
// an invalid marker, e.g. as a return value.
INVALID_STORE = -1,
- MANAGED_STORE = 0,
+ MANAGED_PLATFORM_STORE = 0,
+ DEVICE_MANAGEMENT_STORE,
EXTENSION_STORE,
COMMAND_LINE_STORE,
USER_STORE,
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store.cc ('k') | chrome/browser/prefs/pref_notifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698