| OLD | NEW |
| 1 <!-- BEGIN AUTHORED CONTENT --> | |
| 2 <p id="classSummary"> | 1 <p id="classSummary"> |
| 3 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. |
| 4 </p> | 3 </p> |
| 4 |
| 5 <h2 id="manifest">Manifest</h2> | 5 <h2 id="manifest">Manifest</h2> |
| 6 |
| 6 <p>You must declare the "management" permission | 7 <p>You must declare the "management" permission |
| 7 in the <a href="manifest.html">extension manifest</a> | 8 in the <a href="manifest.html">extension manifest</a> |
| 8 to use the management API. | 9 to use the management API. |
| 9 For example:</p> | 10 For example:</p> |
| 10 <pre>{ | 11 <pre>{ |
| 11 "name": "My extension", | 12 "name": "My extension", |
| 12 ... | 13 ... |
| 13 <b>"permissions": [ | 14 <b>"permissions": [ |
| 14 "management" | 15 "management" |
| 15 ]</b>, | 16 ]</b>, |
| 16 ... | 17 ... |
| 17 }</pre> | 18 }</pre> |
| 19 |
| 18 <p> | 20 <p> |
| 19 The one method that doesn't require the "management" permission is | 21 The one method that doesn't require the "management" permission is |
| 20 <a href="#method-getPermissionWarningsByManifest"><code>getPermissionWarningsByM
anifest</code></a> | 22 <a href="#method-getPermissionWarningsByManifest"><code>getPermissionWarningsByM
anifest</code></a> |
| 21 </p> | 23 </p> |
| 22 <!-- END AUTHORED CONTENT --> | |
| OLD | NEW |