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

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

Issue 1454113003: Require an explicit ServiceName annotation for interfaces in C++. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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: mojo/services/tracing/interfaces/tracing.mojom
diff --git a/mojo/services/tracing/interfaces/tracing.mojom b/mojo/services/tracing/interfaces/tracing.mojom
index a261e908f08c96e2516765e283741b00ae65a84e..b2300e03c621b4c1774b9e84e0840b5dc9e29be5 100644
--- a/mojo/services/tracing/interfaces/tracing.mojom
+++ b/mojo/services/tracing/interfaces/tracing.mojom
@@ -10,6 +10,7 @@ module tracing;
// function is called collect tracing data and pass it back via the provided
// TraceRecorder interface up until Stop() is called.
+[ServiceName="tracing::TraceProvider"]
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.
@@ -21,6 +22,7 @@ interface TraceRecorder {
Record(string json);
};
+[ServiceName="tracing::TraceCollector"]
interface TraceCollector {
// Request tracing data from all connected providers to stream to
// |stream|.
« no previous file with comments | « mojo/services/terminal/interfaces/terminal_client.mojom ('k') | mojo/services/ui/views/interfaces/view_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698