i need to make chrome handle clicks on links with certain mime-type (or certain url) in a specific way. For example, I have an application C:\test.exe and a web page with link to some php script which sends a file (*.exe file) with content-type: application/testapp. And i need chrome to handle click on that link so no questions are asked and chrome just executes C:\test.exe with the url of that link as a parameter.

Is it possible?
I tried to get into NSAPI but I can't find any example skeletons, I've just found xulrunner-sdk for Google Chrome.

I have succedded doing this in Firefox (by mimeTypes.rdf) and Internet Explorer (by a BHO plugin), but no luck with Chrome...
Any ideas would be much appreciated.