Use name to sort IDB interfaces into the indexed_db library.

R=antonm@google.com,blois@google.com
BUG=

Review URL: https://codereview.chromium.org//14014004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21214 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
ager@google.com 2013-04-10 16:10:21 +00:00
parent d7b8047611
commit 9bd8f2db46

View file

@ -704,6 +704,11 @@ class HtmlRenamer(object):
if interface.id in _library_names:
return _library_names[interface.id]
# TODO(ager, blois): The conditional has been removed from indexed db,
# so we can no longer determine the library based on the conditionals.
if interface.id.startswith("IDB"):
return 'indexed_db'
if 'Conditional' in interface.ext_attrs:
if 'WEB_AUDIO' in interface.ext_attrs['Conditional']:
return 'web_audio'