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

Unified Diff: extensions/test/data/manifest_tests/event_rules.json

Issue 1158693006: Create a mechanism define declarative rules via the extension manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add thread safety to extensionregistry notifications Created 5 years, 6 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
« no previous file with comments | « extensions/extensions_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/data/manifest_tests/event_rules.json
diff --git a/extensions/test/data/manifest_tests/event_rules.json b/extensions/test/data/manifest_tests/event_rules.json
new file mode 100644
index 0000000000000000000000000000000000000000..649587447c651e29e66f564f8694dec3997499c1
--- /dev/null
+++ b/extensions/test/data/manifest_tests/event_rules.json
@@ -0,0 +1,15 @@
+{
+ "name": "extensions_unittests --gtest_filter=DeclarativeManifestTest.Valid",
+ "version": "1",
+ "manifest_version": 2,
+ "app": {
+ "background": {
+ "scripts": ["background.js"]
+ }
+ },
+ "event_rules": [{
+ "event": "foo",
+ "conditions": [{"type": "condition_type"}],
+ "actions": [{"type": "action_type"}]
+ }]
+}
« no previous file with comments | « extensions/extensions_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698