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

Side by Side Diff: chrome/common/extensions/docs/templates/intros/downloads.html

Issue 23611006: Fix incorrect manifest JSON in the chrome.downloads intro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
« 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 <h2 id='manifest'>Manifest</h2> 1 <h2 id='manifest'>Manifest</h2>
2 2
3 <p> You must declare the 'downloads' permission in the <a 3 <p> You must declare the <code>"downloads"</code> permission in the <a
4 href='manifest.html'>extension manifest</a> to use this API.</p> 4 href='manifest.html'>extension manifest</a> to use this API.</p>
5 5
6 <pre>{ 6 <pre>{
7 'name': 'My extension', 7 "name": "My extension",
8 ... 8 ...
9 <b> 'permissions': ['downloads']</b>, 9 <b>"permissions": [
10 "downloads"
11 ]</b>,
10 ... 12 ...
11 }</pre> 13 }</pre>
12 14
13 <h2 id='examples'>Examples</h2> 15 <h2 id='examples'>Examples</h2>
14 16
15 <p>You can find simple examples of using the downloads module in the <a 17 <p>You can find simple examples of using the <code>chrome.downloads</code> API i n the <a
16 href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/d ocs/examples/api/downloads/'>examples/api/downloads</a> 18 href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/d ocs/examples/api/downloads/'>examples/api/downloads</a>
17 directory. For other examples and for help in viewing the source code, see <a 19 directory. For other examples and for help in viewing the source code, see <a
18 href='samples.html'>Samples</a>.</p> 20 href='samples.html'>Samples</a>.</p>
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