Chromium Code Reviews| Index: chrome/common/extensions/api/bookmark_manager_private.json |
| diff --git a/chrome/common/extensions/api/bookmark_manager_private.json b/chrome/common/extensions/api/bookmark_manager_private.json |
| index a965d17f9e17e37d082ffcb58f15165053a99c98..fb6c860f9107ecf753cb3d6f1570cead014937d0 100644 |
| --- a/chrome/common/extensions/api/bookmark_manager_private.json |
| +++ b/chrome/common/extensions/api/bookmark_manager_private.json |
| @@ -49,6 +49,12 @@ |
| "type": "object", |
| "description": "Collection of meta info fields.", |
| "additionalProperties": {"type": "string"} |
| + }, |
| + { |
| + "id": "MapMetaInfoFields", |
| + "type": "object", |
| + "description": "Map Id to MetaInfoFields.", |
| + "additionalProperties": {"type": "any"} |
| } |
| ], |
| "functions": [ |
| @@ -269,10 +275,12 @@ |
| "name": "getMetaInfo", |
| "type": "function", |
| "description": "Gets meta info from a bookmark node", |
| + "allowAmbiguousOptionalArguments": true, |
| "parameters": [ |
| { |
| "name": "id", |
| - "description": "The id of the bookmark to retrieve meta info from", |
| + "description": "The id of the bookmark to retrieve meta info from. If ommited meta info for all nodes is returned.", |
|
Mike Wittman
2014/06/16 17:47:35
nit: omitted
yefimt
2014/06/16 19:04:01
Done.
|
| + "optional": true, |
| "type": "string" |
| }, |
| { |
| @@ -293,7 +301,8 @@ |
| // if the API is made public. |
| "choices": [ |
| {"type": "string"}, |
| - {"$ref": "MetaInfoFields"} |
| + {"$ref": "MetaInfoFields"}, |
| + {"$ref": "MapMetaInfoFields"} |
| ] |
| } |
| ] |