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

Unified Diff: services/tracing/tracing.mojom

Issue 791493006: De-client tracing.TraceController interface (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
Index: services/tracing/tracing.mojom
diff --git a/services/tracing/tracing.mojom b/services/tracing/tracing.mojom
index 1227988238f8eeb61aeecb97795984a96b73ddeb..64bbd20a89877ecbc6f8004e9be2255ca6a98b4b 100644
--- a/services/tracing/tracing.mojom
+++ b/services/tracing/tracing.mojom
@@ -6,19 +6,16 @@ module tracing;
// To particate in the tracing ecosystem, implement the TraceController
// interface and connect to the tracing app. Then, when the controller's Start()
-// function is called collect tracing data and pass it back via the
+// function is called collect tracing data and pass it back via the provided
// TraceDataCollector interface up until Stop() is called.
-[Client=TraceDataCollector]
interface TraceController {
- StartTracing(string categories);
+ StartTracing(string categories, TraceDataCollector collector);
StopTracing();
};
-[Client=TraceController]
interface TraceDataCollector {
DataCollected(string json);
- EndTracing();
};
interface TraceCoordinator {

Powered by Google App Engine
This is Rietveld 408576698