Chromium Code Reviews| Index: components/arc/common/trace.mojom |
| diff --git a/components/arc/common/trace.mojom b/components/arc/common/trace.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..403f20dcd6b618a66e6bde0ad9703118a4e3c5e2 |
| --- /dev/null |
| +++ b/components/arc/common/trace.mojom |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Next MinVersion: 1 |
| + |
| +module arc.mojom; |
| + |
|
Yusuke Sato
2017/01/04 23:55:48
remove this line
Earl Ou
2017/01/16 14:05:46
Done.
|
| + |
| +interface TraceInstance { |
| + // Query available tracing categories in the container. |
|
Yusuke Sato
2017/01/04 23:55:48
Queries (L11), Starts (L14), and Stops (L17)
Earl Ou
2017/01/16 14:05:45
Done.
|
| + QueryAvailableCategories@2() => (array<string> categories); |
| + |
| + // Start tracing in the container with the given categories. |
| + StartTracing@0(array<string> categories) => (bool success); |
| + |
| + // Stop tracing in the container. |
| + StopTracing@1() => (bool success); |
| +}; |