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

Unified 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: With blacklist, test Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/_manifest_features.json
diff --git a/chrome/common/extensions/api/_manifest_features.json b/chrome/common/extensions/api/_manifest_features.json
index 4560f45784a5e4426f118c7303e98876465dbcdf..e4e22ef28f5d2af53e6a2f9b5b29630a092e5499 100644
--- a/chrome/common/extensions/api/_manifest_features.json
+++ b/chrome/common/extensions/api/_manifest_features.json
@@ -6,6 +6,15 @@
// See extensions/common/features/* to understand this file, in particular
// feature.h, simple_feature.h, and base_feature_provider.h.
+// To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
+//
+// $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
+// sha1sum | tr '[:lower:]' '[:upper:]'
+// 9A0417016F345C934A1A88F55CA17C05014EEEBA -
+//
+// Google employees: please update http://go/chrome-api-whitelist to map
+// hashes back to ids.
+
{
"app": {
"channel": "stable",
@@ -169,10 +178,19 @@
"location": "component"
}
],
- "file_handlers": {
+ "file_handlers": [
+ {
"channel": "stable",
"extension_types": ["platform_app"]
- },
+ }, {
+ "channel": "stable",
+ "extension_types": [ "extension"],
+ "whitelist": [
+ "gbkeegbaiigmenfmjfclcdgdpimamgkj", // QuickOffice
+ "ionpfmkccalenbmnddpbmocokhaknphg", // QuickOffice Dev
+ "bpmcpldpdmajfigpchkicefoigmkfalc" // Quickoffice component extension
+ ]
+ }],
"homepage_url": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]

Powered by Google App Engine
This is Rietveld 408576698