I have a extension, which uses XPCOM in Firefox to work. Now I would like to port that one to Chrome. Since the only way to use it is by using npapi and npruntime, I think I have to rewrite at least all the glue.
To keep as much of the sourcecode as possible, I was thinking of writing a idl
converter similar to the header.py
in Mozilla. Has this already been done and/or are there any resources for the switch from XPCOM to NPAPI?