| Index: chrome/common/extensions/docs/server2/api_list_data_source.py
|
| diff --git a/chrome/common/extensions/docs/server2/api_list_data_source.py b/chrome/common/extensions/docs/server2/api_list_data_source.py
|
| index d017f0161041d2baadfd48777832872b95a3b2f6..d9b383f7a62b838b8c967b48d971941b0e6bc252 100644
|
| --- a/chrome/common/extensions/docs/server2/api_list_data_source.py
|
| +++ b/chrome/common/extensions/docs/server2/api_list_data_source.py
|
| @@ -68,6 +68,13 @@ class APIListDataSource(object):
|
| self._cache = cache
|
| self._api_path = api_path
|
|
|
| + def GetAllNames(self):
|
| + names = []
|
| + for i in ['apps', 'extensions']:
|
| + for j in ['chrome', 'experimental']:
|
| + names.extend(self[i][j])
|
| + return [api_name['name'].replace('experimental.', '') for api_name in names]
|
| +
|
| def __getitem__(self, key):
|
| return self.get(key)
|
|
|
|
|