Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3465)

Unified Diff: chrome/common/extensions/docs/server2/converter.py

Issue 10832259: Extensions Docs Server: Apps api_index.html shows correct APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/converter.py
diff --git a/chrome/common/extensions/docs/server2/converter.py b/chrome/common/extensions/docs/server2/converter.py
index 53c5d06c3152270d00140bd4fffbf5e936c89955..cd2e0eb0f40528782f44fa22af1970e2f4361a82 100755
--- a/chrome/common/extensions/docs/server2/converter.py
+++ b/chrome/common/extensions/docs/server2/converter.py
@@ -48,18 +48,20 @@ CUSTOM_MAPPINGS = {
EXTENSIONS_ONLY = [
'browserAction',
'extension',
- 'input.ime',
+ 'input_ime',
+ 'fontSettings',
+ 'fileBrowserHandler',
'omnibox',
'pageAction',
'scriptBadge',
'windows',
- 'experimental.devtools.audits',
- 'experimental.devtools.console',
- 'experimental.discovery',
- 'experimental.infobars',
- 'experimental.offscreenTabs',
- 'experimental.processes',
- 'experimental.speechInput'
+ 'experimental_devtools_audits',
+ 'experimental_devtools_console',
+ 'experimental_discovery',
+ 'experimental_infobars',
+ 'experimental_offscreenTabs',
+ 'experimental_processes',
+ 'experimental_speechInput'
]
def _ReadFile(filename):
@@ -90,9 +92,7 @@ def _GetDestinations(api_name, api_dir):
if permissions_key in permissions:
return_list = []
types = permissions[permissions_key]['extension_types']
- if ('packaged_app' in types or
- 'hosted_app' in types or
- 'platform_app' in types):
+ if 'platform_app' in types:
return_list.append('apps')
if 'extension' in types:
return_list.append('extensions')
not at google - send to devlin 2012/08/13 01:56:35 Are there any APIs that would be orphaned here?
cduvall 2012/08/13 16:58:10 I don't think there are. If the API isn't in the p

Powered by Google App Engine
This is Rietveld 408576698