| Index: services/tracing/tracing_app.cc
|
| diff --git a/services/tracing/tracing_app.cc b/services/tracing/tracing_app.cc
|
| index 930c5e5974dd3f505c9c1c458a62bce44a42feab..036e583284851222e24a364fea94512c990f9313 100644
|
| --- a/services/tracing/tracing_app.cc
|
| +++ b/services/tracing/tracing_app.cc
|
| @@ -18,18 +18,6 @@ TracingApp::~TracingApp() {}
|
| bool TracingApp::ConfigureIncomingConnection(
|
| mojo::ApplicationConnection* connection) {
|
| connection->AddService<TraceCollector>(this);
|
| -
|
| - // If someone connects to us they may want to use the TraceCollector
|
| - // interface and/or they may want to expose themselves to be traced. Attempt
|
| - // to connect to the TraceProvider interface to see if the application
|
| - // connecting to us wants to be traced. They can refuse the connection or
|
| - // close the pipe if not.
|
| - // TODO(vtl): Remove this once we remove the "wrong way" ServiceProvider.
|
| - TraceProviderPtr provider_ptr;
|
| - connection->ConnectToService(&provider_ptr);
|
| - if (provider_ptr)
|
| - RegisterTraceProvider(provider_ptr.PassInterfaceHandle());
|
| -
|
| return true;
|
| }
|
|
|
|
|