| Index: components/arc/common/tracing.mojom
|
| diff --git a/components/arc/common/tracing.mojom b/components/arc/common/tracing.mojom
|
| index e27d89ba0b3ec3afa18dd26f1874e57c9341da68..aa1f5a2f3bcdc2cec17816ae2635425aa4b15001 100644
|
| --- a/components/arc/common/tracing.mojom
|
| +++ b/components/arc/common/tracing.mojom
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Next MinVersion: 1
|
| +// Next MinVersion: 2
|
|
|
| module arc.mojom;
|
|
|
| @@ -10,8 +10,11 @@ interface TracingInstance {
|
| // Queries available tracing categories in the container.
|
| QueryAvailableCategories@0() => (array<string> categories);
|
|
|
| - // Starts tracing in the container with the given categories.
|
| - StartTracing@1(array<string> categories) => (bool success);
|
| + // Starts tracing in the container with the given categories. A handle is
|
| + // passed to the client for sending trace events back to the host. The client
|
| + // should send trace event as a JSON object in each write.
|
| + StartTracing@1(array<string> categories,
|
| + [MinVersion=1] handle? socket) => (bool success);
|
|
|
| // Stops tracing in the container.
|
| StopTracing@2() => (bool success);
|
|
|