1 <h2 id='manifest'
>Manifest
</h2>
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>
6 <pre data-filename=
"manifest.json">
8 "name":
"My extension",
17 <h2 id='examples'
>Examples
</h2>
19 <p>You can find simple examples of using the
<code>chrome.downloads
</code> API in the
<a
20 href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/downloads/'
>examples/api/downloads
</a>
21 directory. For other examples and for help in viewing the source code, see
<a
22 href='samples.html'
>Samples
</a>.
</p>