| <h2 id='manifest'>Manifest</h2> |
| |
| <p> You must declare the 'downloads' permission in the <a |
| href='manifest.html'>extension manifest</a> to use this API.</p> |
| |
| <pre>{ |
| 'name': 'My extension', |
| ... |
| <b> 'permissions': ['downloads']</b>, |
| ... |
| }</pre> |
| |
| <h2 id='examples'>Examples</h2> |
| |
| <p>You can find simple examples of using the downloads module in the <a |
| href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/downloads/'>examples/api/downloads</a> |
| directory. For other examples and for help in viewing the source code, see <a |
| href='samples.html'>Samples</a>.</p> |