OLD | NEW |
1 <h1>Native messaging</h1> | 1 <h1>Native Messaging</h1> |
2 <p> | 2 <p> |
3 Extensions and apps can exchange messages with native applications using an API | 3 Extensions and apps can exchange messages with native applications using an API |
4 that is similar to the other <a href="messaging">message passing APIs</a>. | 4 that is similar to the other <a href="messaging">message passing APIs</a>. |
5 Native applications that support this feature must register a | 5 Native applications that support this feature must register a |
6 <em>native messaging host</em> that knows how to communicate with the extension. | 6 <em>native messaging host</em> that knows how to communicate with the extension. |
7 Chrome starts the host in a separate process and communicates with it using | 7 Chrome starts the host in a separate process and communicates with it using |
8 standard input and standard output streams. | 8 standard input and standard output streams. |
9 | 9 |
10 <h2 id="native-messaging-host">Native messaging host</h2> | 10 <h2 id="native-messaging-host">Native messaging host</h2> |
11 <p> | 11 <p> |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 and | 267 and |
268 <a href="https://developer.chrome.com/extensions/examples/api/nativeMessaging/ho
st.zip">sample host</a>. | 268 <a href="https://developer.chrome.com/extensions/examples/api/nativeMessaging/ho
st.zip">sample host</a>. |
269 | 269 |
270 Run <code>install_host.bat</code> (Windows) or | 270 Run <code>install_host.bat</code> (Windows) or |
271 <code>install_host.sh</code> (Linux / OS X) to install the native messaging | 271 <code>install_host.sh</code> (Linux / OS X) to install the native messaging |
272 host. | 272 host. |
273 Then <a href="getstarted#unpacked">load the app</a> and interact with the app. | 273 Then <a href="getstarted#unpacked">load the app</a> and interact with the app. |
274 Run <code>uninstall_host.bat</code> or <code>uninstall_host.sh</code> to | 274 Run <code>uninstall_host.bat</code> or <code>uninstall_host.sh</code> to |
275 unregister the native messaging host when you are done. | 275 unregister the native messaging host when you are done. |
276 | 276 |
OLD | NEW |