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

Side by Side 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "Port", 6 "id": "Port",
7 "type": "object", 7 "type": "object",
8 "description": "An object which allows two way communication with other pages.", 8 "description": "An object which allows two way communication with other pages.",
9 "properties": { 9 "properties": {
10 "name": {"type": "string"}, 10 "name": {"type": "string"},
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 "name": "collapse", 842 "name": "collapse",
843 "type": "function", 843 "type": "function",
844 "description": "", 844 "description": "",
845 "parameters": [ 845 "parameters": [
846 {"type": "string", "name": "url", "optional": true}, 846 {"type": "string", "name": "url", "optional": true},
847 {"type": "function", "name": "callback", "optional": true, "parameters ": []} 847 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
848 ] 848 ]
849 } 849 }
850 ], 850 ],
851 "events": [] 851 "events": []
852 },
853 {
854 "namespace": "test",
855 "types": [],
856 "functions": [
857 {
858 "name": "fail",
859 "type": "function",
860 "description": "Notify the browser process that test code running in the extension failed. This is only used for internal unit testing.",
861 "parameters": [
862 {"type": "string", "name": "message"}
863 ]
864 },
865 {
866 "name": "pass",
867 "type": "function",
868 "description": "Notify the browser process that test code running in the extension passed. This is only used for internal unit testing.",
869 "parameters": []
870 }
871 ],
872 "events": []
852 } 873 }
853 ] 874 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698