Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Next MinVersion: 1 | |
| 6 | |
| 7 module arc.mojom; | |
| 8 | |
| 9 interface TraceInstance { | |
| 10 // Queries available tracing categories in the container. | |
| 11 QueryAvailableCategories@0() => (array<string> categories); | |
| 12 | |
| 13 // Sets host socket handler for client to send trace events back to the host. | |
| 14 // The host is required to call this function before starting tracing. | |
| 15 SetHostSocket@3(handle sock); | |
|
Luis Héctor Chávez
2017/02/10 17:43:55
Why not send this in StartTracing()?
Earl Ou
2017/02/16 09:56:46
I think we don't need to recreate the socket betwe
Earl Ou
2017/03/22 11:38:26
Move this to StartTracing now.
| |
| 16 | |
| 17 // Starts tracing in the container with the given categories. | |
| 18 StartTracing@1(array<string> categories) => (bool success); | |
| 19 | |
| 20 // Stops tracing in the container. | |
| 21 StopTracing@2() => (bool success); | |
| 22 }; | |
| OLD | NEW |