Fix API changes

This commit is contained in:
Cheng Zhao 2015-09-02 15:16:49 +08:00
parent 1db843244d
commit 45491ca7ab
21 changed files with 81 additions and 74 deletions

View file

@ -33,10 +33,11 @@ are reached.
Once all child processes have acknowledged the `getCategories` request the
`callback` is invoked with an array of category groups.
### `contentTracing.startRecording(categoryFilter, traceOptions, callback)`
### `contentTracing.startRecording(options, callback)`
* `categoryFilter` String
* `traceOptions` String
* `options` Object
* `categoryFilter` String
* `traceOptions` String
* `callback` Function
Start recording on all processes.
@ -94,10 +95,11 @@ Trace data will be written into `resultFilePath` if it is not empty or into a
temporary file. The actual file path will be passed to `callback` if it's not
`null`.
### `contentTracing.startMonitoring(categoryFilter, traceOptions, callback)`
### `contentTracing.startMonitoring(options, callback)`
* `categoryFilter` String
* `traceOptions` String
* `options` Object
* `categoryFilter` String
* `traceOptions` String
* `callback` Function
Start monitoring on all processes.