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

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

Issue 2400163003: arc: enable Android tracing in verified-boot mode (Closed)
Patch Set: Address comments Created 3 years, 8 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Next MinVersion: 1 5 // Next MinVersion: 1
Luis Héctor Chávez 2017/04/13 21:37:52 Next MinVersion: 2
Earl Ou 2017/04/15 20:05:51 Done.
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 interface TracingInstance { 9 interface TracingInstance {
10 // Queries available tracing categories in the container. 10 // Queries available tracing categories in the container.
11 QueryAvailableCategories@0() => (array<string> categories); 11 QueryAvailableCategories@0() => (array<string> categories);
12 12
13 // Starts tracing in the container with the given categories. 13 // Starts tracing in the container with the given categories. A handle is
14 StartTracing@1(array<string> categories) => (bool success); 14 // passed to the client for sending trace events back to the host. The client
15 // should send trace event as a JSON object in each write.
16 StartTracing@1(array<string> categories, handle socket) => (bool success);
Luis Héctor Chávez 2017/04/13 21:37:52 Oh! I almost forgot! [MinVersion=1] handle socket
Earl Ou 2017/04/14 22:37:38 This would be a mojom compiling error: Exception:
Luis Héctor Chávez 2017/04/15 05:34:19 no, that's what the versions are for :) i messed
Earl Ou 2017/04/15 20:05:51 Done. That works. :)
15 17
16 // Stops tracing in the container. 18 // Stops tracing in the container.
17 StopTracing@2() => (bool success); 19 StopTracing@2() => (bool success);
18 }; 20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698