Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/api_data_source.py |
| diff --git a/chrome/common/extensions/docs/server2/api_data_source.py b/chrome/common/extensions/docs/server2/api_data_source.py |
| index 36d378073149634dc9430ea31df9b4021d36cc78..1295a5607071649a8809fc6997c55586a8362963 100644 |
| --- a/chrome/common/extensions/docs/server2/api_data_source.py |
| +++ b/chrome/common/extensions/docs/server2/api_data_source.py |
| @@ -17,7 +17,7 @@ import third_party.json_schema_compiler.idl_parser as idl_parser |
| # Increment this version when there are changes to the data stored in any of |
| # the caches used by APIDataSource. This allows the cache to be invalidated |
| # without having to flush memcache on the production server. |
| -_VERSION = 0 |
| +_VERSION = 1 |
|
Aaron Boodman
2012/10/24 22:29:24
Note that this conflicts with: http://codereview.c
cduvall
2012/10/25 23:42:02
Yeah, this number only needs to change once per se
|
| def _RemoveNoDocs(item): |
| if type(item) == dict: |
| @@ -180,9 +180,12 @@ class _JscModel(object): |
| 'optional': property_.optional, |
| 'description': self._FormatDescription(property_.description), |
| 'properties': self._GenerateProperties(property_.properties), |
| + 'parameters': [], |
| 'functions': self._GenerateFunctions(property_.functions), |
| 'id': _CreateId(property_, 'property') |
| } |
| + for param in property_.params: |
| + property_dict['parameters'].append(self._GenerateProperty(param)) |
| if (property_.parent is not None and |
| not isinstance(property_.parent, model.Namespace)): |
| property_dict['parent_name'] = property_.parent.simple_name |