Index: mojo/services/test_service/test_request_tracker_application.cc |
diff --git a/mojo/services/test_service/test_request_tracker_application.cc b/mojo/services/test_service/test_request_tracker_application.cc |
index 673cdf4595abe8ba9e1eda14aec0db70a14fb5cc..9e4e7051217b8660929a4ce9300df7fa694dab05 100644 |
--- a/mojo/services/test_service/test_request_tracker_application.cc |
+++ b/mojo/services/test_service/test_request_tracker_application.cc |
@@ -24,10 +24,16 @@ bool TestRequestTrackerApplication::ConfigureIncomingConnection( |
// Note, this app is single-threaded, so this is thread safe. |
connection->AddService<TestTrackedRequestServiceImpl>(&context_); |
connection->AddService<TestRequestTrackerImpl>(&context_); |
- connection->AddService<TestTimeServiceImpl>(); |
+ connection->AddServiceProvider(this); |
return true; |
} |
+void TestRequestTrackerApplication::BindToRequest( |
+ ApplicationConnection* connection, |
+ InterfaceRequest<TestTimeService> request) { |
+ mojo::BindToRequest(new TestTimeServiceImpl(connection), &request); |
+} |
+ |
} // namespace test |
// static |