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

Unified Diff: services/shell/standalone/tracer.cc

Issue 2208783002: Make Tracing Service not use outgoing InterfaceProvider, update conventions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « services/shell/standalone/tracer.h ('k') | services/tracing/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/standalone/tracer.cc
diff --git a/services/shell/standalone/tracer.cc b/services/shell/standalone/tracer.cc
index cd6f3bcd0f8752b85a2de0a846ffaab8c30855ab..84408fc638c4801c853a3426812bd88ae1a2bd7a 100644
--- a/services/shell/standalone/tracer.cc
+++ b/services/shell/standalone/tracer.cc
@@ -50,7 +50,7 @@ void Tracer::Start(const std::string& categories,
}
void Tracer::StartCollectingFromTracingService(
- tracing::TraceCollectorPtr coordinator) {
+ tracing::mojom::CollectorPtr coordinator) {
coordinator_ = std::move(coordinator);
mojo::DataPipe data_pipe;
coordinator_->Start(std::move(data_pipe.producer_handle), categories_);
@@ -63,9 +63,8 @@ void Tracer::StopAndFlushToFile() {
StopTracingAndFlushToDisk();
}
-void Tracer::ConnectToProvider(
- mojo::InterfaceRequest<tracing::TraceProvider> request) {
- trace_provider_impl_.Bind(std::move(request));
+void Tracer::ConnectToProvider(tracing::mojom::ProviderRequest request) {
+ provider_.Bind(std::move(request));
}
void Tracer::StopTracingAndFlushToDisk() {
« no previous file with comments | « services/shell/standalone/tracer.h ('k') | services/tracing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698