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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 171032: end-to-end extension API tests (Closed)
Patch Set: a bit of refactoring and review feedback Created 11 years, 4 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/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 222523680d6b0d265f70666df657081498f26994..e5989bc725437175257242f2231c7924e6c81eba 100755
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -849,5 +849,26 @@
}
],
"events": []
+ },
+ {
+ "namespace": "test",
+ "types": [],
+ "functions": [
+ {
+ "name": "fail",
+ "type": "function",
+ "description": "Notify the browser process that test code running in the extension failed. This is only used for internal unit testing.",
+ "parameters": [
+ {"type": "string", "name": "message"}
+ ]
+ },
+ {
+ "name": "pass",
+ "type": "function",
+ "description": "Notify the browser process that test code running in the extension passed. This is only used for internal unit testing.",
+ "parameters": []
+ }
+ ],
+ "events": []
}
]

Powered by Google App Engine
This is Rietveld 408576698