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

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

Issue 264743014: Move chrome.runtime to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: prevent runtime impl from handling invalid update versions Created 6 years, 7 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 | Annotate | Revision Log
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 { 12 {
13 "dns": { 13 "dns": {
14 "dependencies": ["permission:dns"], 14 "dependencies": ["permission:dns"],
15 "contexts": ["blessed_extension"] 15 "contexts": ["blessed_extension"]
16 }, 16 },
17 "runtime": {
18 "channel": "stable",
19 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
20 "contexts": ["blessed_extension"]
21 },
22 "runtime.getManifest": {
23 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
24 },
25 "runtime.connect": {
26 "contexts": "all",
27 "matches": ["<all_urls>"]
28 },
29 "runtime.getURL": {
30 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
31 },
32 "runtime.id": {
33 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
34 },
35 "runtime.lastError": {
36 "contexts": "all",
37 "extension_types": "all",
38 "matches": ["<all_urls>"]
39 },
40 "runtime.onConnect": {
41 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
42 },
43 "runtime.onMessage": {
44 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
45 },
46 "runtime.reload": {
47 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
48 },
49 "runtime.requestUpdateCheck": {
50 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
51 },
52 "runtime.sendMessage": {
53 "contexts": "all",
54 "matches": ["<all_urls>"]
55 },
56 "runtime.setUninstallURL": {
57 "channel": "dev",
58 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
59 },
17 "socket": { 60 "socket": {
18 "dependencies": ["permission:socket"], 61 "dependencies": ["permission:socket"],
19 "contexts": ["blessed_extension"] 62 "contexts": ["blessed_extension"]
20 }, 63 },
21 "sockets.tcp": { 64 "sockets.tcp": {
22 "dependencies": ["manifest:sockets"], 65 "dependencies": ["manifest:sockets"],
23 "contexts": ["blessed_extension"] 66 "contexts": ["blessed_extension"]
24 }, 67 },
25 "sockets.tcpServer": { 68 "sockets.tcpServer": {
26 "dependencies": ["manifest:sockets"], 69 "dependencies": ["manifest:sockets"],
27 "contexts": ["blessed_extension"] 70 "contexts": ["blessed_extension"]
28 }, 71 },
29 "sockets.udp": { 72 "sockets.udp": {
30 "dependencies": ["manifest:sockets"], 73 "dependencies": ["manifest:sockets"],
31 "contexts": ["blessed_extension"] 74 "contexts": ["blessed_extension"]
32 }, 75 },
33 "storage": { 76 "storage": {
34 "dependencies": ["permission:storage"], 77 "dependencies": ["permission:storage"],
35 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 78 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
36 }, 79 },
37 "test": { 80 "test": {
38 "internal": true, 81 "internal": true,
39 "channel": "stable", 82 "channel": "stable",
40 "extension_types": "all", 83 "extension_types": "all",
41 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 84 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
42 }, 85 },
86 "types": {
87 "channel": "stable",
88 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
89 "contexts": ["blessed_extension"]
90 },
91 "types.private": {
92 "channel": "dev",
93 "extension_types": ["extension"],
94 "location": "component"
95 },
43 "usb": { 96 "usb": {
44 "dependencies": ["permission:usb"], 97 "dependencies": ["permission:usb"],
45 "contexts": ["blessed_extension"] 98 "contexts": ["blessed_extension"]
46 } 99 }
47 } 100 }
OLDNEW
« no previous file with comments | « extensions/browser/test_runtime_api_delegate.cc ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698