| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | 1 <!-- BEGIN AUTHORED CONTENT --> |
| 2 <h2 id="manifest">Manifest</h2> | 2 <h2 id="manifest">Manifest</h2> |
| 3 | 3 |
| 4 <p>To use the cookies API, | 4 <p>To use the cookies API, |
| 5 you must declare the "cookies" permission in your manifest, | 5 you must declare the "cookies" permission in your manifest, |
| 6 along with <a href="manifest.html#permissions">host permissions</a> | 6 along with <a href="manifest.html#permissions">host permissions</a> |
| 7 for any hosts whose cookies | 7 for any hosts whose cookies |
| 8 you want to access. | 8 you want to access. |
| 9 For example:</p> | 9 For example:</p> |
| 10 | 10 |
| 11 <pre>{ | 11 <pre>{ |
| 12 "name": "My extension", | 12 "name": "My extension", |
| 13 ... | 13 ... |
| 14 <b>"permissions": [ | 14 <b>"permissions": [ |
| 15 "cookies", | 15 "cookies", |
| 16 "*://*.google.com" | 16 "*://*.google.com" |
| 17 ]</b>, | 17 ]</b>, |
| 18 ... | 18 ... |
| 19 }</pre> | 19 }</pre> |
| 20 | 20 |
| 21 <h2 id="examples"> Examples </h2> |
| 22 |
| 23 <p> |
| 24 You can find a simple example |
| 25 of using the cookies API in the |
| 26 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/cookies/">examples/api/cookies</a> |
| 27 directory. |
| 28 For other examples |
| 29 and for help in viewing the source code, |
| 30 see <a href="samples.html">Samples</a>. |
| 31 </p> |
| 32 |
| 21 <!-- END AUTHORED CONTENT --> | 33 <!-- END AUTHORED CONTENT --> |
| OLD | NEW |