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

Side by Side Diff: extensions/common/api/_permission_features.json

Issue 2264113002: [Extensions] Add feature documentation for id hashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better Created 4 years, 4 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
« no previous file with comments | « extensions/common/api/_manifest_features.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This features file defines permissions for extension APIs implemented 5 // This features file defines permissions for extension APIs implemented
6 // under src/extensions. 6 // under src/extensions.
7 7 // See chrome/common/extensions/api/_features.md to understand this file, as
8 // See extensions/common/features/* to understand this file, in particular 8 // well as feature.h, simple_feature.h, and base_feature_provider.h.
9 // feature.h, simple_feature.h, and base_feature_provider.h.
10
11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
12 //
13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
14 // sha1sum | tr '[:lower:]' '[:upper:]'
15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA -
16 //
17 // Google employees: please update http://go/chrome-api-whitelist to map
18 // hashes back to ids.
19 9
20 // If you add a new platform_app permission please update the "stubs_app" test: 10 // If you add a new platform_app permission please update the "stubs_app" test:
21 // chrome/test/data/extensions/api_test/stubs_app/manifest.json 11 // chrome/test/data/extensions/api_test/stubs_app/manifest.json
22 12
23 { 13 {
24 "alarms": { 14 "alarms": {
25 "channel": "stable", 15 "channel": "stable",
26 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 16 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
27 "min_manifest_version": 2 17 "min_manifest_version": 2
28 }, 18 },
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 }], 484 }],
495 "webRequest": { 485 "webRequest": {
496 "channel": "stable", 486 "channel": "stable",
497 "extension_types": ["extension", "legacy_packaged_app"] 487 "extension_types": ["extension", "legacy_packaged_app"]
498 }, 488 },
499 "webRequestBlocking": { 489 "webRequestBlocking": {
500 "channel": "stable", 490 "channel": "stable",
501 "extension_types": ["extension", "legacy_packaged_app"] 491 "extension_types": ["extension", "legacy_packaged_app"]
502 } 492 }
503 } 493 }
OLDNEW
« no previous file with comments | « extensions/common/api/_manifest_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698