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

Side by Side Diff: chrome/common/extensions/api/_manifest_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: Hacky approach to get around component apps being auto whitelisted to everything 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chrome. 5 // This features file defines manifest keys implemented under src/chrome.
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 // 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
9 { 18 {
10 "app": { 19 "app": {
11 "channel": "stable", 20 "channel": "stable",
12 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] 21 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
13 }, 22 },
14 "app.isolation": { 23 "app.isolation": {
15 "channel": "stable", 24 "channel": "stable",
16 // Platform apps always have isolated storage, thus they cannot specify it 25 // Platform apps always have isolated storage, thus they cannot specify it
17 // via the manifest. 26 // via the manifest.
18 "extension_types": ["legacy_packaged_app", "hosted_app"] 27 "extension_types": ["legacy_packaged_app", "hosted_app"]
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 { 171 {
163 "channel": "stable", 172 "channel": "stable",
164 "extension_types": ["extension", "legacy_packaged_app"] 173 "extension_types": ["extension", "legacy_packaged_app"]
165 }, 174 },
166 { 175 {
167 "channel": "stable", 176 "channel": "stable",
168 "extension_types": ["platform_app"], 177 "extension_types": ["platform_app"],
169 "location": "component" 178 "location": "component"
170 } 179 }
171 ], 180 ],
172 "file_handlers": { 181 "file_handlers": [
182 {
173 "channel": "stable", 183 "channel": "stable",
174 "extension_types": ["platform_app"] 184 "extension_types": ["platform_app"]
175 }, 185 }, {
186 "channel": "stable",
187 "extension_types": [ "extension"],
188 "whitelist": [
189 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice
190 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal
191 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension
192 ]
193 }],
176 "homepage_url": { 194 "homepage_url": {
177 "channel": "stable", 195 "channel": "stable",
178 "extension_types": ["extension", "legacy_packaged_app"] 196 "extension_types": ["extension", "legacy_packaged_app"]
179 }, 197 },
180 "icons": { 198 "icons": {
181 "channel": "stable", 199 "channel": "stable",
182 "extension_types": "all" 200 "extension_types": "all"
183 }, 201 },
184 "import": { 202 "import": {
185 "channel": "stable", 203 "channel": "stable",
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 }, 378 },
361 "url_handlers": { 379 "url_handlers": {
362 "channel": "stable", 380 "channel": "stable",
363 "extension_types": ["platform_app"] 381 "extension_types": ["platform_app"]
364 }, 382 },
365 "version": { 383 "version": {
366 "channel": "stable", 384 "channel": "stable",
367 "extension_types": "all" 385 "extension_types": "all"
368 } 386 }
369 } 387 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698