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

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

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 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/public/interfaces/tracing.mojom
diff --git a/mojo/services/tracing/public/interfaces/tracing.mojom b/mojo/services/tracing/public/interfaces/tracing.mojom
deleted file mode 100644
index a261e908f08c96e2516765e283741b00ae65a84e..0000000000000000000000000000000000000000
--- a/mojo/services/tracing/public/interfaces/tracing.mojom
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 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.
-
-[DartPackage="mojo_services"]
-module tracing;
-
-// 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
-// TraceRecorder interface up until Stop() is called.
-
-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, TraceRecorder recorder);
- StopTracing();
-};
-
-interface TraceRecorder {
- Record(string json);
-};
-
-interface TraceCollector {
- // Request tracing data from all connected providers to stream to
- // |stream|.
- Start(handle<data_pipe_producer> stream, string categories);
-
- // Stop tracing and flush results to the |stream| passed in to Start().
- // Closes |stream| when all data is collected.
- StopAndFlush();
-};
« no previous file with comments | « mojo/services/tracing/public/interfaces/BUILD.gn ('k') | mojo/services/url_response_disk_cache/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698