| Index: services/service_manager/public/cpp/lib/service_context.cc
|
| diff --git a/services/service_manager/public/cpp/lib/service_context.cc b/services/service_manager/public/cpp/lib/service_context.cc
|
| index 1726027b726df7bb29f7c5cd7356c456f16a76ad..6f1b35971c1fd7b81b619924994acc94c8861ddf 100644
|
| --- a/services/service_manager/public/cpp/lib/service_context.cc
|
| +++ b/services/service_manager/public/cpp/lib/service_context.cc
|
| @@ -34,6 +34,7 @@ ServiceContext::ServiceContext(
|
| binding_(this, std::move(request)),
|
| connector_(std::move(connector)),
|
| weak_factory_(this) {
|
| + LOG(INFO) << "ServiceContext::ServiceContext";
|
| DCHECK(binding_.is_bound());
|
| binding_.set_connection_error_handler(
|
| base::Bind(&ServiceContext::OnConnectionError, base::Unretained(this)));
|
| @@ -80,6 +81,7 @@ void ServiceContext::DestroyService() {
|
|
|
| void ServiceContext::OnStart(const ServiceInfo& info,
|
| const OnStartCallback& callback) {
|
| + LOG(INFO) << "ServiceContext::OnStart: " << info.identity.name();
|
| local_info_ = info;
|
| callback.Run(
|
| std::move(pending_connector_request_),
|
| @@ -93,6 +95,7 @@ void ServiceContext::OnConnect(
|
| const ServiceInfo& source_info,
|
| mojom::InterfaceProviderRequest interfaces,
|
| const OnConnectCallback& callback) {
|
| + LOG(INFO) << "ServiceContext::OnConnect";
|
| InterfaceProviderSpec source_spec, target_spec;
|
| GetInterfaceProviderSpec(mojom::kServiceManager_ConnectorSpec,
|
| local_info_.interface_provider_specs, &target_spec);
|
| @@ -110,6 +113,7 @@ void ServiceContext::OnBindInterface(
|
| const std::string& interface_name,
|
| mojo::ScopedMessagePipeHandle interface_pipe,
|
| const OnBindInterfaceCallback& callback) {
|
| + LOG(INFO) << "ServiceContext::OnBindInterface: " << interface_name;
|
| // Acknowledge the request regardless of whether it's accepted.
|
| callback.Run();
|
|
|
|
|