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

Unified Diff: tools/json_schema_compiler/test/features_test.json

Issue 2151583003: [Extensions] Add extension feature generation code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include fix Created 4 years, 5 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: tools/json_schema_compiler/test/features_test.json
diff --git a/tools/json_schema_compiler/test/features_test.json b/tools/json_schema_compiler/test/features_test.json
new file mode 100644
index 0000000000000000000000000000000000000000..e727ec14d3f3067376f483355ecfb0b56d4d3709
--- /dev/null
+++ b/tools/json_schema_compiler/test/features_test.json
@@ -0,0 +1,56 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+{
+ "alpha": {
+ "channel": "stable",
+ "contexts": ["blessed_extension"],
+ "dependencies": ["permission:alpha"]
+ },
+ "beta": {
+ "extension_types": ["extension", "platform_app"],
+ "whitelist": ["aaa", "bbb"],
+ "blacklist": ["zzz", "yyy"],
+ "component_extensions_auto_granted": false
+ },
+ "gamma": {
+ "channel": "beta",
+ "platforms": ["win", "mac"],
+ "contexts": ["blessed_extension"],
+ "extension_types": ["extension"],
+ "internal": true
+ },
+ "gamma.child": {
+ "whitelist": ["ccc"],
+ "dependencies": ["permission:gamma.child"],
+ "platforms": ["linux"]
+ },
+ "gamma.unparented": {
+ "blacklist": ["ddd"],
+ "contexts": ["unblessed_extension"],
+ "noparent": true
+ },
+ "delta": {
+ "contexts": ["blessed_extension", "webui"],
+ "matches": ["*://example.com/*"]
+ },
+ "complex": [{
+ "channel": "beta",
+ "contexts": ["blessed_extension"],
+ "extension_types": ["extension"],
+ "whitelist": ["aaa"]
+ }, {
+ "channel": "stable",
+ "contexts": ["blessed_extension"],
+ "extension_types": ["extension"],
+ "default_parent": true
+ }],
+ "complex.child": {
+ "platforms": ["win"],
+ "dependencies": ["permission:complex.child"]
+ },
+ "uncompiled": {
+ "contexts": ["blessed_extension"],
+ "nocompile": true
+ }
+}
« no previous file with comments | « tools/json_schema_compiler/test/features_generation_unittest.cc ('k') | tools/json_schema_compiler/test/features_test2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698