Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: components/arc/common/trace.mojom

Issue 2400163003: arc: enable Android tracing in verified-boot mode (Closed)
Patch Set: Fix some nits Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698