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

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

Issue 789643004: Move chrome.alarms API from chrome/ to extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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
« no previous file with comments | « extensions/browser/extensions_test.h ('k') | extensions/common/api/_permission_features.json » ('j') | 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 extension APIs implemented under src/extensions. 5 // This features file defines extension APIs implemented under src/extensions.
6 // See extensions/common/features/* to understand this file, in particular 6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h. 7 // feature.h, simple_feature.h, and base_feature_provider.h.
8 // 8 //
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc.
11 11
12 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: 12 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
13 // 13 //
14 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ 14 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
15 // sha1sum | tr '[:lower:]' '[:upper:]' 15 // sha1sum | tr '[:lower:]' '[:upper:]'
16 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - 16 // 9A0417016F345C934A1A88F55CA17C05014EEEBA -
17 // 17 //
18 // Google employees: please update http://go/chrome-api-whitelist to map 18 // Google employees: please update http://go/chrome-api-whitelist to map
19 // hashes back to ids. 19 // hashes back to ids.
20 20
21 { 21 {
22 "alarms": {
23 "dependencies": ["permission:alarms"],
24 "contexts": ["blessed_extension"]
25 },
22 "app.runtime": [{ 26 "app.runtime": [{
23 "channel": "stable", 27 "channel": "stable",
24 "contexts": ["blessed_extension"], 28 "contexts": ["blessed_extension"],
25 "extension_types": ["platform_app"], 29 "extension_types": ["platform_app"],
26 "noparent": true 30 "noparent": true
27 }, { 31 }, {
28 "channel": "stable", 32 "channel": "stable",
29 "component_extensions_auto_granted": false, 33 "component_extensions_auto_granted": false,
30 "contexts": ["blessed_extension"], 34 "contexts": ["blessed_extension"],
31 "extension_types": ["extension"], 35 "extension_types": ["extension"],
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 }], 427 }],
424 "webViewRequest": [{ 428 "webViewRequest": [{
425 "dependencies": ["permission:webview"], 429 "dependencies": ["permission:webview"],
426 "contexts": ["blessed_extension"] 430 "contexts": ["blessed_extension"]
427 }, { 431 }, {
428 "channel": "stable", 432 "channel": "stable",
429 "contexts": ["webui"], 433 "contexts": ["webui"],
430 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] 434 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"]
431 }] 435 }]
432 } 436 }
OLDNEW
« no previous file with comments | « extensions/browser/extensions_test.h ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698