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

Side by Side Diff: mojo/services/tracing/tracing.mojom

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 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
« no previous file with comments | « mojo/services/tracing/trace_data_sink.cc ('k') | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 module tracing;
6
7 // To participate in the tracing ecosystem, implement the TraceController
8 // interface and connect to the tracing app. Then, when the controller's Start()
9 // function is called collect tracing data and pass it back via the provided
10 // TraceDataCollector interface up until Stop() is called.
11
12 interface TraceController {
13 StartTracing(string categories, TraceDataCollector collector);
14 StopTracing();
15 };
16
17 interface TraceDataCollector {
18 DataCollected(string json);
19 };
20
21 interface TraceCoordinator {
22 // Request tracing data from all connected TraceControllers to stream to
23 // |stream|.
24 Start(handle<data_pipe_producer> stream, string categories);
25
26 // Stop tracing and flush results to file.
27 StopAndFlush();
28 };
OLDNEW
« no previous file with comments | « mojo/services/tracing/trace_data_sink.cc ('k') | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698