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

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: Move tests to extensions/. Created 5 years, 11 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 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 }], 415 }],
412 "webViewRequest": [{ 416 "webViewRequest": [{
413 "dependencies": ["permission:webview"], 417 "dependencies": ["permission:webview"],
414 "contexts": ["blessed_extension"] 418 "contexts": ["blessed_extension"]
415 }, { 419 }, {
416 "channel": "stable", 420 "channel": "stable",
417 "contexts": ["webui"], 421 "contexts": ["webui"],
418 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] 422 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"]
419 }] 423 }]
420 } 424 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698