Home | History | Annotate | Download | only in intros
      1 <h2 id='manifest'>Manifest</h2>
      2 
      3 <p> You must declare the 'downloads' permission in the <a
      4 href='manifest.html'>extension manifest</a> to use this API.</p>
      5 
      6 <pre>{
      7   'name': 'My extension',
      8   ...
      9 <b>  'permissions': ['downloads']</b>,
     10   ...
     11 }</pre>
     12 
     13 <h2 id='examples'>Examples</h2>
     14 
     15 <p>You can find simple examples of using the downloads module in the <a
     16 href='http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/downloads/'>examples/api/downloads</a>
     17 directory. For other examples and for help in viewing the source code, see <a
     18 href='samples.html'>Samples</a>.</p>
     19