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

Unified Diff: services/tracing/service.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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/tracing/public/cpp/provider.cc ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/service.cc
diff --git a/services/tracing/service.cc b/services/tracing/service.cc
index b4044c7ad01d5b3063655048d596f3ed6c9db4c1..360a931e30ba594eb9dcb35e1017f43704d56c86 100644
--- a/services/tracing/service.cc
+++ b/services/tracing/service.cc
@@ -55,7 +55,7 @@ void Service::CreateRecorder(mojom::ProviderPtr provider) {
if (tracing_active_) {
mojom::RecorderPtr recorder_ptr;
recorder_impls_.push_back(
- new Recorder(GetProxy(&recorder_ptr), sink_.get()));
+ new Recorder(MakeRequest(&recorder_ptr), sink_.get()));
provider->StartTracing(tracing_categories_, std::move(recorder_ptr));
}
provider_ptrs_.AddPtr(std::move(provider));
@@ -68,8 +68,7 @@ void Service::Start(mojo::ScopedDataPipeProducerHandle stream,
provider_ptrs_.ForAllPtrs(
[categories, this](mojom::Provider* controller) {
mojom::RecorderPtr ptr;
- recorder_impls_.push_back(
- new Recorder(GetProxy(&ptr), sink_.get()));
+ recorder_impls_.push_back(new Recorder(MakeRequest(&ptr), sink_.get()));
controller->StartTracing(categories, std::move(ptr));
});
tracing_active_ = true;
« no previous file with comments | « services/tracing/public/cpp/provider.cc ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698