| Index: chrome/common/extensions/api/experimental_record.json
|
| diff --git a/chrome/common/extensions/api/experimental_record.json b/chrome/common/extensions/api/experimental_record.json
|
| index 1a11e721e1be930c1677064d4d2dc58c7fb98424..15ba3acd4a24720c96eed3f95ce77b51d81e4577 100644
|
| --- a/chrome/common/extensions/api/experimental_record.json
|
| +++ b/chrome/common/extensions/api/experimental_record.json
|
| @@ -7,17 +7,12 @@
|
| "type": "object",
|
| "description": "",
|
| "properties": {
|
| - "extensionPath": {"type": "string", "optional": true, "description": "A path to an extension to run in the session. Should be an unpacked extension."}
|
| - }
|
| - },
|
| - {
|
| - "id": "ReplayURLsResult",
|
| - "type": "object",
|
| - "description": "",
|
| - "properties": {
|
| - "runTime": {"type": "integer", "description": "Time in milliseconds to complete all runs."},
|
| - "stats": {"type": "string", "description": "Full multiline dump of output stats."},
|
| - "errors": {"type": "array", "items": {"type": "string"}, "description": "List of errors during replay."}
|
| + "extensionPath": {
|
| + "type": "string",
|
| + "optional": true,
|
| + "description":
|
| + "Absolute path to an unpacked extension to run in the subbrowser session."
|
| + }
|
| }
|
| }
|
| ],
|
| @@ -28,15 +23,17 @@
|
| "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"
|
| },
|
| {
|
| - "type": "string",
|
| - "name": "cacheDirectoryPath"
|
| - },
|
| - {
|
| "name": "callback",
|
| "type": "function",
|
| "description": "Called when capture has completed.",
|
| @@ -57,13 +54,9 @@
|
| "type": "function",
|
| "parameters": [
|
| {
|
| - "type": "array",
|
| - "items": {"type": "string"},
|
| - "name": "urls"
|
| - },
|
| - {
|
| "type": "string",
|
| - "name": "captureDirectoryPath"
|
| + "name": "captureName",
|
| + "description": "Unique name of capture. Use to determine cache."
|
| },
|
| {
|
| "type": "integer",
|
| @@ -80,7 +73,24 @@
|
| "name": "callback",
|
| "type": "function",
|
| "description": "Called when playback has completed.",
|
| - "parameters": [{"$ref": "ReplayURLsResult", "name": "result"}]
|
| + "parameters": [
|
| + {
|
| + "type": "integer",
|
| + "name": "runTime",
|
| + "description": "Time in milliseconds to complete all runs."
|
| + },
|
| + {
|
| + "type": "string",
|
| + "name": "stats",
|
| + "description": "Full multiline dump of output stats."
|
| + },
|
| + {
|
| + "type": "array",
|
| + "name": "errors",
|
| + "items": {"type": "string"},
|
| + "description": "List of errors during replay."
|
| + }
|
| + ]
|
| }
|
| ]
|
| }
|
|
|