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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/nativeMessaging.html

Issue 1033003003: Fix typo in link at nativeMessaging docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 <ul> 203 <ul>
204 <li> 204 <li>
205 Is the name spelled correctly in the extension and in the manifest file? 205 Is the name spelled correctly in the extension and in the manifest file?
206 <li> 206 <li>
207 Is the manifest put in the right directory and with the correct name? See 207 Is the manifest put in the right directory and with the correct name? See
208 <a href="#native-messaging-host-location">native messaging host location</ a> 208 <a href="#native-messaging-host-location">native messaging host location</ a>
209 for the expected formats. 209 for the expected formats.
210 <li> 210 <li>
211 Is the manifest file in the correct format? In particular, is the JSON 211 Is the manifest file in the correct format? In particular, is the JSON
212 syntax correct and do the values match the definition of a 212 syntax correct and do the values match the definition of a
213 <a href="native-messaging-host-manifest">native messaging host manifest</a >? 213 <a href="#native-messaging-host-manifest">native messaging host manifest</ a>?
214 <li> 214 <li>
215 Does the file specified in <code>path</code> exist? On Windows, paths 215 Does the file specified in <code>path</code> exist? On Windows, paths
216 may be relative, but on OS X and Linux, the paths must be absolute. 216 may be relative, but on OS X and Linux, the paths must be absolute.
217 </ul> 217 </ul>
218 218
219 <dt>Native messaging host <em>host name</em> is not registered. (Windows-only) 219 <dt>Native messaging host <em>host name</em> is not registered. (Windows-only)
220 <dd>The native messaging host was not found in the Windows registry. Double-ch eck 220 <dd>The native messaging host was not found in the Windows registry. Double-ch eck
221 using <code>regedit</code> whether the key was really created and matches the 221 using <code>regedit</code> whether the key was really created and matches the
222 required format as documented at 222 required format as documented at
223 <a href="#native-messaging-host-location">native messaging host location</a>. 223 <a href="#native-messaging-host-location">native messaging host location</a>.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698