Chromium Code Reviews| 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..e7185c63a46ca683da568bb62980856161e59dcc 100644 |
| --- a/chrome/common/extensions/api/managed_mode_private.json |
| +++ b/chrome/common/extensions/api/managed_mode_private.json |
| @@ -55,6 +55,55 @@ |
| ] |
| } |
| ] |
| + }, |
| + { |
| + "name": "setPolicy", |
| + "type": "function", |
| + "description": "Sets a policy.", |
| + "parameters": [ |
| + { |
| + "name": "key", |
| + "type": "string", |
| + "description": "Policy key" |
|
Joao da Silva
2012/06/06 16:36:38
End the description with a "." for consistency?
Bernhard Bauer
2012/06/08 10:06:44
Done.
|
| + }, |
| + { |
| + "name": "value", |
| + "type": "any", |
| + "description": "Policy value." |
| + }, |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "optional": true, |
| + "parameters": [ |
| + ] |
|
Joao da Silva
2012/06/06 16:36:38
Remove the newline? ("parameters": [])
Bernhard Bauer
2012/06/08 10:06:44
Done.
|
| + } |
| + ] |
| + }, |
| + { |
| + "name": "getPolicy", |
| + "type": "function", |
| + "description": "Gets a policy value.", |
| + "parameters": [ |
| + { |
| + "name": "key", |
| + "type": "string", |
| + "description": "Policy key" |
|
Joao da Silva
2012/06/06 16:36:38
Same about the "."
Bernhard Bauer
2012/06/08 10:06:44
Done.
|
| + }, |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "optional": true, |
| + "parameters": [ |
| + { |
| + "name": "value", |
| + "type": "any", |
| + "description": "Policy value or null if no policy is set.", |
| + "optional": true |
| + } |
| + ] |
| + } |
| + ] |
| } |
| ], |
| "events": [ |