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

Side by Side Diff: extensions/common/api/_manifest_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, 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 // 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 manifest keys implemented under src/extensions. 5 // This features file defines manifest keys implemented under src/extensions.
6 // See extensions/common/features/* to understand this file, in particular 6 // See chrome/common/extensions/api/_features.md to understand this file, as
7 // feature.h, simple_feature.h, and base_feature_provider.h. 7 // well as feature.h, simple_feature.h, and base_feature_provider.h.
8
9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
10 //
11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
12 // sha1sum | tr '[:lower:]' '[:upper:]'
13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA -
14 //
15 // Google employees: please update http://go/chrome-api-whitelist to map
16 // hashes back to ids.
17 8
18 { 9 {
19 "app": { 10 "app": {
20 "channel": "stable", 11 "channel": "stable",
21 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] 12 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
22 }, 13 },
23 // The default platform app CSP can only be overridden by whitelisted apps. 14 // The default platform app CSP can only be overridden by whitelisted apps.
24 // This is a separate key from the top-level content_security_policy one since 15 // This is a separate key from the top-level content_security_policy one since
25 // we can't combine type restrictions with whitelisted ID restrictions. If 16 // we can't combine type restrictions with whitelisted ID restrictions. If
26 // there is a need for additional whitelisted entries, the feature system 17 // there is a need for additional whitelisted entries, the feature system
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 "extension_types": ["platform_app"], 316 "extension_types": ["platform_app"],
326 "location": "component" 317 "location": "component"
327 } 318 }
328 ], 319 ],
329 "webview": { 320 "webview": {
330 "channel": "stable", 321 "channel": "stable",
331 "extension_types": ["platform_app"], 322 "extension_types": ["platform_app"],
332 "min_manifest_version": 2 323 "min_manifest_version": 2
333 } 324 }
334 } 325 }
OLDNEW
« no previous file with comments | « extensions/common/api/_behavior_features.json ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698