On 17 April 2013 12:31, Simon Schampijer <span dir="ltr"><<a href="mailto:simon@schampijer.de" target="_blank">simon@schampijer.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey Daniel,<br>
<br>
I have an extension that is using management.getAll [1] to collect the extension info. I could not find any info about chrome.runtime.connectNative, it is not part of [2], do you have any pointers?<br></blockquote><div><br>
Hi Simon,<br><br>it's not quite documented yet and I lost the one I had wrote... sigh.<br><br>You can start from<br><br><a href="http://developer.chrome.com/trunk/extensions/examples/extensions/native_messaging.zip">http://developer.chrome.com/trunk/extensions/examples/extensions/native_messaging.zip</a><br>
<br>Though the python file doesn't go in the profile anymore (like the README says).<br><br>You can use the --native-messaging-hosts option to point it to any directory you want.<br><br>Though you also need to put a manifest.json in that directory. No docs for that, but I had figured out the format from here<br>
<br><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc?revision=185382">http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc?revision=185382</a><br>
<br>We can chat about it on irc, it should not be too hard to get it working again...<br></div></div>