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

Unified Diff: shell/tracer.cc

Issue 1284293003: Rename tracing interfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « shell/tracer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/tracer.cc
diff --git a/shell/tracer.cc b/shell/tracer.cc
index ad4d9855a3aa2c9e4ff8cb1933da833b2359e834..ff0400d9f799cc087d612fe037c1c3df7b3613a3 100644
--- a/shell/tracer.cc
+++ b/shell/tracer.cc
@@ -52,7 +52,7 @@ void Tracer::DidCreateMessageLoop() {
}
void Tracer::StartCollectingFromTracingService(
- tracing::TraceCoordinatorPtr coordinator) {
+ tracing::TraceCollectorPtr coordinator) {
coordinator_ = coordinator.Pass();
mojo::DataPipe data_pipe;
coordinator_->Start(data_pipe.producer_handle.Pass(), categories_);
@@ -65,9 +65,9 @@ void Tracer::StopAndFlushToFile() {
StopTracingAndFlushToDisk();
}
-void Tracer::ConnectToController(
- mojo::InterfaceRequest<tracing::TraceController> request) {
- auto impl = new mojo::TraceControllerImpl(request.Pass());
+void Tracer::ConnectToProvider(
+ mojo::InterfaceRequest<tracing::TraceProvider> request) {
+ auto impl = new mojo::TraceProviderImpl(request.Pass());
impl->set_tracing_already_started(tracing_);
}
« no previous file with comments | « shell/tracer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698