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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/idl/experimental_record.json
diff --git a/third_party/chrome/idl/experimental_record.json b/third_party/chrome/idl/experimental_record.json
new file mode 100644
index 0000000000000000000000000000000000000000..ce55501ef020034ff2929fe96d75422452166960
--- /dev/null
+++ b/third_party/chrome/idl/experimental_record.json
@@ -0,0 +1,109 @@
+[
+ {
+ "namespace": "experimental.record",
+ "types": [
+ {
+ "id": "SessionDetails",
+ "type": "object",
+ "description": "",
+ "properties": {
+ "extensionPath": {
+ "type": "string",
+ "optional": true,
+ "description":
+ "Absolute path to an unpacked extension to run in the subbrowser session."
+ }
+ }
+ },
+ {
+ "id": "ReplayURLsResult",
+ "type": "object",
+ "description": "Return value for Replay callback",
+ "properties": {
+ "runTime": {
+ "type": "number",
+ "description": "Time in milliseconds to complete all runs."
+ },
+ "stats": {
+ "type": "string",
+ "description": "Full multiline dump of output stats, showing one statistic per line, comprising an abbreviated statistic name and its value (e.g. vmsize_f_b= 696164352 bytes for final vm size). This is ugly, and will be changed shortly."
+ },
+ "errors": {
+ "type": "array",
+ "items": {"type": "string"},
+ "description": "List of errors during replay. Presently, this should only be abnormal browser termination for unexpected reasons."
+ }
+ }
+ }
+ ],
+ "functions": [
+ {
+ "name": "captureURLs",
+ "description": "",
+ "type": "function",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "Unique name of the capture.",
+ "name": "captureName"
+ },
+ {
+ "type": "array",
+ "items": {"type": "string"},
+ "description": "URL list to visit during capture.",
+ "name": "urls"
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "description": "Called when capture has completed.",
+ "optional": true,
+ "parameters": [
+ {
+ "type": "array",
+ "items": {"type": "string"},
+ "name": "errors",
+ "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."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "replayURLs",
+ "description": "",
+ "type": "function",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "captureName",
+ "description": "Unique name of capture. Use to determine cache."
+ },
+ {
+ "type": "integer",
+ "name": "repeatCount",
+ "minimum": 0,
+ "maximum": 100
+ },
+ {
+ "$ref": "SessionDetails",
+ "name": "details",
+ "optional": true
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "description": "Called when playback has completed.",
+ "parameters": [
+ {
+ "$ref": "ReplayURLsResult",
+ "name": "result"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]
« 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