Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/common/extensions/docs/templates/intros/management.html

Issue 12089037: Add management.uninstallSelf to API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/management.json ('k') | chrome/common/extensions/permissions/permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698