| Index: chrome/common/extensions/api/managed_mode_private.json
|
| diff --git a/chrome/common/extensions/api/managed_mode_private.json b/chrome/common/extensions/api/managed_mode_private.json
|
| index e02dcfb76928183bc3734ef7472e6dcf8954a856..8c5a63b311e91eb27a341db28a032b535d90597d 100644
|
| --- a/chrome/common/extensions/api/managed_mode_private.json
|
| +++ b/chrome/common/extensions/api/managed_mode_private.json
|
| @@ -18,7 +18,7 @@
|
| "optional": true,
|
| "parameters": [
|
| {
|
| - "name": "result",
|
| + "name": "result",
|
| "type": "object",
|
| "description": "The result of the attempt to enter managed mode.",
|
| "properties": {
|
| @@ -55,6 +55,54 @@
|
| ]
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "setPolicy",
|
| + "type": "function",
|
| + "description": "Sets a policy.",
|
| + "parameters": [
|
| + {
|
| + "name": "key",
|
| + "type": "string",
|
| + "description": "Policy key."
|
| + },
|
| + {
|
| + "name": "value",
|
| + "type": "any",
|
| + "description": "Policy value."
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getPolicy",
|
| + "type": "function",
|
| + "description": "Gets a policy value.",
|
| + "parameters": [
|
| + {
|
| + "name": "key",
|
| + "type": "string",
|
| + "description": "Policy key."
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "parameters": [
|
| + {
|
| + "name": "value",
|
| + "type": "any",
|
| + "description": "Policy value or null if no policy is set.",
|
| + "optional": true
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| }
|
| ],
|
| "events": [
|
| @@ -76,4 +124,4 @@
|
| }
|
| ]
|
| }
|
| -]
|
| +]
|
|
|