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

Unified Diff: ppapi/generators/idl_namespace.py

Issue 7715036: More multi-version support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « ppapi/generators/idl_generator.py ('k') | ppapi/generators/idl_node.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_namespace.py
===================================================================
--- ppapi/generators/idl_namespace.py (revision 97752)
+++ ppapi/generators/idl_namespace.py (working copy)
@@ -105,11 +105,13 @@
self.version_to_release = {}
self.release_to_version = {}
self.versions = []
+ self.releases = []
def AddReleaseVersionMapping(self, release, version):
self.version_to_release[version] = release
self.release_to_version[release] = version
self.versions = sorted(self.version_to_release.keys())
+ self.releases = sorted(self.release_to_version.keys())
def GetRelease(self, version):
# Check for exact match
« no previous file with comments | « ppapi/generators/idl_generator.py ('k') | ppapi/generators/idl_node.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698