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

Unified Diff: mojo/services/tracing/public/interfaces/tracing.mojom

Issue 1284293003: Rename tracing interfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/common/tracing_impl.cc ('k') | services/debugger/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/public/interfaces/tracing.mojom
diff --git a/mojo/services/tracing/public/interfaces/tracing.mojom b/mojo/services/tracing/public/interfaces/tracing.mojom
index 6b39e9c304b629edef98dddd5ae343f673b3449e..a261e908f08c96e2516765e283741b00ae65a84e 100644
--- a/mojo/services/tracing/public/interfaces/tracing.mojom
+++ b/mojo/services/tracing/public/interfaces/tracing.mojom
@@ -5,24 +5,24 @@
[DartPackage="mojo_services"]
module tracing;
-// To participate in the tracing ecosystem, implement the TraceController
-// interface and connect to the tracing app. Then, when the controller's Start()
+// To participate in the tracing ecosystem, implement the TraceProvider
+// interface and connect to the tracing app. Then, when the provider's Start()
// function is called collect tracing data and pass it back via the provided
-// TraceDataCollector interface up until Stop() is called.
+// TraceRecorder interface up until Stop() is called.
-interface TraceController {
+interface TraceProvider {
// Categories can either be the empty string to mean the default set of
// categories or a comma-delimited list of categories to trace.
- StartTracing(string categories, TraceDataCollector collector);
+ StartTracing(string categories, TraceRecorder recorder);
StopTracing();
};
-interface TraceDataCollector {
- DataCollected(string json);
+interface TraceRecorder {
+ Record(string json);
};
-interface TraceCoordinator {
- // Request tracing data from all connected TraceControllers to stream to
+interface TraceCollector {
+ // Request tracing data from all connected providers to stream to
// |stream|.
Start(handle<data_pipe_producer> stream, string categories);
« no previous file with comments | « mojo/common/tracing_impl.cc ('k') | services/debugger/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698