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

Unified Diff: content/common/service_manager/service_manager_connection_impl.cc

Issue 2706383002: DO NOT SUBMIT: Show silent service manager failure (Closed)
Patch Set: Created 3 years, 10 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 | « content/child/service_factory.cc ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_manager/service_manager_connection_impl.cc
diff --git a/content/common/service_manager/service_manager_connection_impl.cc b/content/common/service_manager/service_manager_connection_impl.cc
index 26f75d97eea463421adca445c7d69085695d5046..78da2da4f61cfa2198b19c9390027b47e19a0030 100644
--- a/content/common/service_manager/service_manager_connection_impl.cc
+++ b/content/common/service_manager/service_manager_connection_impl.cc
@@ -294,6 +294,7 @@ class ServiceManagerConnectionImpl::IOThreadContext
void CreateService(service_manager::mojom::ServiceRequest request,
const std::string& name) override {
+ LOG(INFO) << "ServiceManagerConnectionImpl::IOThreadContext::CreateService";
DCHECK(io_thread_checker_.CalledOnValidThread());
callback_task_runner_->PostTask(
FROM_HERE,
@@ -515,9 +516,14 @@ void ServiceManagerConnectionImpl::RemoveOnConnectHandler(int id) {
void ServiceManagerConnectionImpl::CreateService(
service_manager::mojom::ServiceRequest request,
const std::string& name) {
+ LOG(INFO) << "ServiceManagerConnectionImpl::CreateService";
+ for (const auto& handler : request_handlers_)
+ LOG(INFO) << "handler: " << handler.first;
auto it = request_handlers_.find(name);
if (it != request_handlers_.end())
it->second.Run(std::move(request));
+ else
+ LOG(INFO) << "no request handler found";
}
void ServiceManagerConnectionImpl::OnContextInitialized(
@@ -548,4 +554,3 @@ void ServiceManagerConnectionImpl::GetInterface(
}
} // namespace content
-
« no previous file with comments | « content/child/service_factory.cc ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698