| OLD | NEW |
| 1 <p id="classSummary"> | 1 <p id="classSummary"> |
| 2 The <code>chrome.management</code> module provides ways to manage the list of ex
tensions/apps that are installed and running. It is particularly useful for exte
nsions that <a href="override.html">override</a> the built-in New Tab page. | 2 The <code>chrome.management</code> module provides ways to manage the list of ex
tensions/apps that are installed and running. It is particularly useful for exte
nsions that <a href="override.html">override</a> the built-in New Tab page. |
| 3 </p> | 3 </p> |
| 4 | 4 |
| 5 <h2 id="manifest">Manifest</h2> | 5 <h2 id="manifest">Manifest</h2> |
| 6 | 6 |
| 7 <p>You must declare the "management" permission | 7 <p>You must declare the "management" permission |
| 8 in the <a href="manifest.html">extension manifest</a> | 8 in the <a href="manifest.html">extension manifest</a> |
| 9 to use the management API. | 9 to use the management API. |
| 10 For example:</p> | 10 For example:</p> |
| 11 <pre>{ | 11 <pre>{ |
| 12 "name": "My extension", | 12 "name": "My extension", |
| 13 ... | 13 ... |
| 14 <b>"permissions": [ | 14 <b>"permissions": [ |
| 15 "management" | 15 "management" |
| 16 ]</b>, | 16 ]</b>, |
| 17 ... | 17 ... |
| 18 }</pre> | 18 }</pre> |
| 19 | 19 |
| 20 <p> | 20 <p> |
| 21 The one method that doesn't require the "management" permission is | 21 $ref:management.getPermissionWarningsByManifest and |
| 22 $ref:management.getPermissionWarningsByManifest | 22 $ref:management.uninstallSelf do not require the management permission |
| 23 </p> | 23 </p> |
| OLD | NEW |