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

Side by Side Diff: third_party/chrome/idl/experimental_record.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 [
2 {
3 "namespace": "experimental.record",
4 "types": [
5 {
6 "id": "SessionDetails",
7 "type": "object",
8 "description": "",
9 "properties": {
10 "extensionPath": {
11 "type": "string",
12 "optional": true,
13 "description":
14 "Absolute path to an unpacked extension to run in the subbrowser session."
15 }
16 }
17 },
18 {
19 "id": "ReplayURLsResult",
20 "type": "object",
21 "description": "Return value for Replay callback",
22 "properties": {
23 "runTime": {
24 "type": "number",
25 "description": "Time in milliseconds to complete all runs."
26 },
27 "stats": {
28 "type": "string",
29 "description": "Full multiline dump of output stats, showing one st atistic per line, comprising an abbreviated statistic name and its value (e.g. v msize_f_b= 696164352 bytes for final vm size). This is ugly, and will be change d shortly."
30 },
31 "errors": {
32 "type": "array",
33 "items": {"type": "string"},
34 "description": "List of errors during replay. Presently, this shoul d only be abnormal browser termination for unexpected reasons."
35 }
36 }
37 }
38 ],
39 "functions": [
40 {
41 "name": "captureURLs",
42 "description": "",
43 "type": "function",
44 "parameters": [
45 {
46 "type": "string",
47 "description": "Unique name of the capture.",
48 "name": "captureName"
49 },
50 {
51 "type": "array",
52 "items": {"type": "string"},
53 "description": "URL list to visit during capture.",
54 "name": "urls"
55 },
56 {
57 "name": "callback",
58 "type": "function",
59 "description": "Called when capture has completed.",
60 "optional": true,
61 "parameters": [
62 {
63 "type": "array",
64 "items": {"type": "string"},
65 "name": "errors",
66 "description": "List of any URLs that failed to load, one error per textline, along with failure reason (e.g. unknown domain). Also may include general abnormal-exit message if the subbrowser run failed for other reasons."
67 }
68 ]
69 }
70 ]
71 },
72 {
73 "name": "replayURLs",
74 "description": "",
75 "type": "function",
76 "parameters": [
77 {
78 "type": "string",
79 "name": "captureName",
80 "description": "Unique name of capture. Use to determine cache."
81 },
82 {
83 "type": "integer",
84 "name": "repeatCount",
85 "minimum": 0,
86 "maximum": 100
87 },
88 {
89 "$ref": "SessionDetails",
90 "name": "details",
91 "optional": true
92 },
93 {
94 "name": "callback",
95 "type": "function",
96 "optional": true,
97 "description": "Called when playback has completed.",
98 "parameters": [
99 {
100 "$ref": "ReplayURLsResult",
101 "name": "result"
102 }
103 ]
104 }
105 ]
106 }
107 ]
108 }
109 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/experimental_processes.json ('k') | third_party/chrome/idl/experimental_rlz.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698