Index: chrome/common/extensions/api/settings_private.idl |
diff --git a/chrome/common/extensions/api/settings_private.idl b/chrome/common/extensions/api/settings_private.idl |
index 41e3b8faf2db5b9b4229dd5b709cf67cd13eb859..4654894c0ac1bfb156108a35278fec43c8eee704 100644 |
--- a/chrome/common/extensions/api/settings_private.idl |
+++ b/chrome/common/extensions/api/settings_private.idl |
@@ -8,10 +8,10 @@ namespace settingsPrivate { |
// Type of a pref. |
enum PrefType { BOOLEAN, NUMBER, STRING, URL, LIST }; |
- // Policy source of a pref. |
- enum PolicySource { DEVICE, USER }; |
+ // Source of a restricted pref, either by policy or other source. |
michaelpg
2015/08/27 23:40:01
Source of a restricted pref (e.g., policy).
stevenjb
2015/08/28 23:18:08
Hmm... I like it as-is.
|
+ enum PolicySource { DEVICE, USER, OWNER, PRIMARY_USER, EXTENSION }; |
- // Policy enforcement of a pref. |
+ // Enforcement type of a restricted pref. |
enum PolicyEnforcement { ENFORCED, RECOMMENDED }; |
dictionary PrefObject { |
@@ -31,6 +31,9 @@ namespace settingsPrivate { |
// The policy enforcement of the pref; must be specified if policySource is |
// also present. |
PolicyEnforcement? policyEnforcement; |
+ |
+ // The recommended value if policyEnforcement == RECOMMENDED. |
+ any? recommendedValue; |
}; |
callback OnPrefSetCallback = void (boolean success); |