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

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

Issue 1932843002: Add TraceProviderRegistry and implementation in tracing service/application. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/tracing/interfaces/trace_provider_registry.mojom
diff --git a/mojo/services/tracing/interfaces/trace_provider_registry.mojom b/mojo/services/tracing/interfaces/trace_provider_registry.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..64a96d7c119d9131e80850ad524736a90b4522f8
--- /dev/null
+++ b/mojo/services/tracing/interfaces/trace_provider_registry.mojom
@@ -0,0 +1,17 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file contains the top-level interface (provided by the tracing
+// application's ServiceProvider) used by things that want to register
+// themselves to participate in tracing.
+
+[DartPackage="mojo_services"]
+module tracing;
+
+import "tracing/interfaces/tracing.mojom";
+
+[ServiceName="tracing.TraceProviderRegistry"]
+interface TraceProviderRegistry {
+ RegisterTraceProvider(TraceProvider trace_provider);
+};

Powered by Google App Engine
This is Rietveld 408576698