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

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

Issue 508263003: Add getSelf method to management API to use without the "management" permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 3 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 <h2 id="manifest">Manifest</h2> 1 <h2 id="manifest">Manifest</h2>
2 2
3 <p>You must declare the "management" permission 3 <p>You must declare the "management" permission
4 in the <a href="manifest">extension manifest</a> 4 in the <a href="manifest">extension manifest</a>
5 to use the management API. 5 to use the management API.
6 For example:</p> 6 For example:</p>
7 <pre data-filename="manifest.json"> 7 <pre data-filename="manifest.json">
8 { 8 {
9 "name": "My extension", 9 "name": "My extension",
10 ... 10 ...
11 <b>"permissions": [ 11 <b>"permissions": [
12 "management" 12 "management"
13 ]</b>, 13 ]</b>,
14 ... 14 ...
15 }</pre> 15 }</pre>
16 16
17 <p> 17 <p>
18 $(ref:management.getPermissionWarningsByManifest) and 18 $(ref:management.getPermissionWarningsByManifest),
19 $(ref:management.uninstallSelf) do not require the management permission 19 $(ref:management.uninstallSelf), and $(ref:management.getSelf) do not require
20 the management permission.
20 </p> 21 </p>
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/management.json ('k') | chrome/test/data/extensions/management/get_self/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698