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

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

Issue 10914218: Removing references to legacy packaged apps across extension docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <h1>Autoupdating</h1> 1 <h1>Autoupdating</h1>
2 2
3 3
4 <p>We want extensions to be autoupdated for some of the same reasons as Google C hrome itself: to incorporate bug and security fixes, add new features or perform ance enhancements, and improve user interfaces.</p> 4 <p>We want extensions to be autoupdated for some of the same reasons as Google C hrome itself: to incorporate bug and security fixes, add new features or perform ance enhancements, and improve user interfaces.</p>
5 5
6 <p>If you publish your extension using the <a href="https://chrome.google.com/we bstore/developer/dashboard">Chrome Developer Dashboard</a>, you can <em>ignore t his page</em>. You can use the dashboard to release updated versions of your ext ension to users, as well as to the Chrome Web Store.</p> 6 <p>If you publish your extension using the <a href="https://chrome.google.com/we bstore/developer/dashboard">Chrome Developer Dashboard</a>, you can <em>ignore t his page</em>. You can use the dashboard to release updated versions of your ext ension to users, as well as to the Chrome Web Store.</p>
7 7
8 <p>If you want to host your extension somewhere other than the store, keep readi ng. 8 <p>If you want to host your extension somewhere other than the store, keep readi ng.
9 You should also read <a href="hosting.html">Hosting</a> and 9 You should also read <a href="hosting.html">Hosting</a> and
10 <a href="packaging.html">Packaging</a>.</p> 10 <a href="packaging.html">Packaging</a>.</p>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 <p>This XML format is borrowed from that used by Omaha, Google's update infrastr ucture. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/o maha/</a> for more details. 44 <p>This XML format is borrowed from that used by Omaha, Google's update infrastr ucture. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/o maha/</a> for more details.
45 The extensions system uses the following attributes 45 The extensions system uses the following attributes
46 for the <strong>&lt;app></strong> 46 for the <strong>&lt;app></strong>
47 and <strong>&lt;updatecheck></strong> elements of the update manifest: 47 and <strong>&lt;updatecheck></strong> elements of the update manifest:
48 </p> 48 </p>
49 49
50 <p><b>appid</b><br> 50 <p><b>appid</b><br>
51 The extension ID, generated based on a hash of the extension's public key, 51 The extension ID, generated based on a hash of the extension's public key,
52 as described in <a href="packaging.html">Packaging</a>. You can find the 52 as described in <a href="packaging.html">Packaging</a>. You can find the
53 ID of an extension or packaged app by going to the Extensions page (<b>chrome:// extensions</b>). 53 ID of an extension by going to the Extensions page (<b>chrome://extensions</b>).
Aaron Boodman 2012/09/16 00:44:35 What did we decide to do about pages like this tha
Mihai Parparita -not on Chrome 2012/09/16 04:55:02 Given that this page appears in the apps doc set t
Aaron Boodman 2012/09/17 21:18:04 Yeah. My question was what we decided to do in the
mkearney1 2012/09/17 21:30:17 I have a to-do to investigate if there are any spe
54
55 Hosted apps, however, are not listed on the Extensions page. You can find the I D of any
Mihai Parparita -not on Chrome 2012/09/16 04:55:02 Hosted apps are not (publicly) deprecated yet, we
Aaron Boodman 2012/09/17 21:23:08 Again, this caveat is something that should only b
mkearney1 2012/09/17 21:30:17 Yes, we need the apps stuff to be in apps docs-- i
56 app using the following steps:
57 </p> 54 </p>
58 55
59 <ul>
60 <li> Open the app. You can do this by clicking its icon on the New Tab page.</ li>
61 <li> Open the JavaScript console. You can do this by clicking the wrench icon
62 and choosing <b>Tools &gt; JavaScript Console</b>.</li>
63 <li> Enter the following expression into the JavaScript console: <code>chrome. app.getDetails().id</code>
64 <p>The console shows the app's ID as a quoted string.</p>
65 </li>
66 </ul>
67
68 <p><b>codebase</b><br> 56 <p><b>codebase</b><br>
69 A URL to the extension's <code>.crx</code> file.</p> 57 A URL to the extension's <code>.crx</code> file.</p>
70 58
71 <p><b>version</b><br> 59 <p><b>version</b><br>
72 Used by the client to determine whether it should download the <code>.crx</code> file specified by <code>codebase</code>. It should match the value of "version" in the <code>.crx</code> file's <code>manifest.json</code> file.</p> 60 Used by the client to determine whether it should download the <code>.crx</code> file specified by <code>codebase</code>. It should match the value of "version" in the <code>.crx</code> file's <code>manifest.json</code> file.</p>
73 <p>The update manifest XML file may contain information about multiple extension s by including multiple &lt;app&gt; elements.</p> 61 <p>The update manifest XML file may contain information about multiple extension s by including multiple &lt;app&gt; elements.</p>
74 62
75 63
76 <h2>Testing</h2> 64 <h2>Testing</h2>
77 <p>The default update check frequency is several hours, 65 <p>The default update check frequency is several hours,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 129
142 <pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt; 130 <pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
143 &lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt; 131 &lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt;
144 &nbsp;&nbsp;&lt;app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'&gt; 132 &nbsp;&nbsp;&lt;app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'&gt;
145 &nbsp;&nbsp; &nbsp;&lt;updatecheck&nbsp;codebase='http://myhost.com/mytestextens ion/mte_v2.crx'&nbsp;version='2.0' <b>prodversionmin='3.0.193.0'</b>/&gt; 133 &nbsp;&nbsp; &nbsp;&lt;updatecheck&nbsp;codebase='http://myhost.com/mytestextens ion/mte_v2.crx'&nbsp;version='2.0' <b>prodversionmin='3.0.193.0'</b>/&gt;
146 &nbsp;&nbsp;&lt;/app&gt; 134 &nbsp;&nbsp;&lt;/app&gt;
147 &lt;/gupdate&gt; 135 &lt;/gupdate&gt;
148 </pre> 136 </pre>
149 137
150 <p>This would ensure that users of this extension would autoupdate to version 2 only if they are running Google Chrome 3.0.193.0 or greater.</p> 138 <p>This would ensure that users of this extension would autoupdate to version 2 only if they are running Google Chrome 3.0.193.0 or greater.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698