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

Side by Side Diff: chrome/common/extensions/docs/static/autoupdate.html

Issue 7778017: Update references to the extension gallery. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 <div id="pageData-name" class="pageData">Autoupdating</div> 1 <div id="pageData-name" class="pageData">Autoupdating</div>
2 <div id="pageData-showTOC" class="pageData">true</div> 2 <div id="pageData-showTOC" class="pageData">true</div>
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 Extensions Gallery or 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 gallery or store, keep reading. 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>
11 11
12 12
13 <h2>Overview</h2> 13 <h2>Overview</h2>
14 <ul><li>An extension manifest may contain an "update_url" field, pointing to a l ocation for doing update checks.</li> 14 <ul><li>An extension manifest may contain an "update_url" field, pointing to a l ocation for doing update checks.</li>
15 <li>The content returned by an update check is an <em>update manifest</em> XML d ocument listing the latest version of an extension.</li></ul> 15 <li>The content returned by an update check is an <em>update manifest</em> XML d ocument listing the latest version of an extension.</li></ul>
16 16
17 <p>Every few hours, the browser checks whether any installed extensions have an update URL. For each one, it makes a request to that URL looking for an update m anifest XML file. If the update manifest mentions a version of an extension that is more recent than what's installed, the browser downloads and installs the ne w version. As with manual updates, the new <code>.crx</code> file must be signed with the same private key as the currently installed version.</p> 17 <p>Every few hours, the browser checks whether any installed extensions have an update URL. For each one, it makes a request to that URL looking for an update m anifest XML file. If the update manifest mentions a version of an extension that is more recent than what's installed, the browser downloads and installs the ne w version. As with manual updates, the new <code>.crx</code> file must be signed with the same private key as the currently installed version.</p>
18 18
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 <pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt; 128 <pre>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
129 &lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt; 129 &lt;gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'&gt;
130 &nbsp;&nbsp;&lt;app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'&gt; 130 &nbsp;&nbsp;&lt;app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'&gt;
131 &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; 131 &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;
132 &nbsp;&nbsp;&lt;/app&gt; 132 &nbsp;&nbsp;&lt;/app&gt;
133 &lt;/gupdate&gt; 133 &lt;/gupdate&gt;
134 </pre> 134 </pre>
135 135
136 <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> 136 <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>
137 137
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698