Skip to content

Commit

Permalink
💄 Fix grammatical issues
Browse files Browse the repository at this point in the history
  • Loading branch information
samccone committed May 23, 2015
1 parent 30d815e commit a642782
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api/content-tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The `content-trace` module is used to collect tracing data generated by the
underlying Chromium content module. This module does not include a web interface
so you need to open `chrome://tracing/` in Chrome browser and load the generated
so you need to open `chrome://tracing/` in a Chrome browser and load the generated
file to view the result.

```javascript
Expand All @@ -26,7 +26,7 @@ Get a set of category groups. The category groups can change as new code paths
are reached.

Once all child processes have acked to the `getCategories` request, `callback`
is called back with an array of category groups.
is invoked with an array of category groups.

## tracing.startRecording(categoryFilter, options, callback)

Expand All @@ -43,7 +43,7 @@ have acked to the `startRecording` request, `callback` will be called back.
`categoryFilter` is a filter to control what category groups should be
traced. A filter can have an optional `-` prefix to exclude category groups
that contain a matching category. Having both included and excluded
category patterns in the same list would not be supported.
category patterns in the same list is not supported.

Examples:

Expand Down Expand Up @@ -107,12 +107,12 @@ Get the current monitoring traced data.

Child processes typically are caching trace data and only rarely flush and send
trace data back to the main process. That is because it may be an expensive
operation to send the trace data over IPC, and we would like to avoid much
operation to send the trace data over IPC, and we would like to avoid unneeded
runtime overhead of tracing. So, to end tracing, we must asynchronously ask all
child processes to flush any pending trace data.

Once all child processes have acked to the `captureMonitoringSnapshot` request,
`callback` will be called back with a file that contains the traced data.
the `callback` will be invoked with a file that contains the traced data.


## tracing.getTraceBufferUsage(callback)
Expand Down

0 comments on commit a642782

Please sign in to comment.