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

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

Issue 265503003: Enable file_handlers and chrome.app.runtime for QuickOffice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback, less hacky 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
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:
13 //
14 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
15 // sha1sum | tr '[:lower:]' '[:upper:]'
16 // 9A0417016F345C934A1A88F55CA17C05014EEEBA -
17 //
18 // Google employees: please update http://go/chrome-api-whitelist to map
19 // hashes back to ids.
20
12 { 21 {
13 "dns": { 22 "dns": {
14 "dependencies": ["permission:dns"], 23 "dependencies": ["permission:dns"],
15 "contexts": ["blessed_extension"] 24 "contexts": ["blessed_extension"]
16 }, 25 },
17 "socket": { 26 "socket": {
18 "dependencies": ["permission:socket"], 27 "dependencies": ["permission:socket"],
19 "contexts": ["blessed_extension"] 28 "contexts": ["blessed_extension"]
20 }, 29 },
21 "sockets.tcp": { 30 "sockets.tcp": {
(...skipping 16 matching lines...) Expand all
38 "internal": true, 47 "internal": true,
39 "channel": "stable", 48 "channel": "stable",
40 "extension_types": "all", 49 "extension_types": "all",
41 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 50 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
42 }, 51 },
43 "usb": { 52 "usb": {
44 "dependencies": ["permission:usb"], 53 "dependencies": ["permission:usb"],
45 "contexts": ["blessed_extension"] 54 "contexts": ["blessed_extension"]
46 } 55 }
47 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698