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

Unified Diff: services/tracing/tracing_app.cc

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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/tracing/tracing_app.h ('k') | services/ui/input_manager/input_manager_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/tracing_app.cc
diff --git a/services/tracing/tracing_app.cc b/services/tracing/tracing_app.cc
index 036e583284851222e24a364fea94512c990f9313..915ed03e1f9aa84ef95e8aeb524b584fd8713ab5 100644
--- a/services/tracing/tracing_app.cc
+++ b/services/tracing/tracing_app.cc
@@ -21,7 +21,7 @@ bool TracingApp::ConfigureIncomingConnection(
return true;
}
-void TracingApp::Create(mojo::ApplicationConnection* connection,
+void TracingApp::Create(const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<TraceCollector> request) {
if (collector_binding_.is_bound()) {
LOG(ERROR) << "Another application is already connected to tracing.";
@@ -31,7 +31,7 @@ void TracingApp::Create(mojo::ApplicationConnection* connection,
collector_binding_.Bind(request.Pass());
}
-void TracingApp::Create(mojo::ApplicationConnection* connection,
+void TracingApp::Create(const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<TraceProviderRegistry> request) {
provider_registry_bindings_.AddBinding(this, request.Pass());
}
« no previous file with comments | « services/tracing/tracing_app.h ('k') | services/ui/input_manager/input_manager_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698