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

Unified Diff: content/common/mojo/service_registry_impl.cc

Issue 1262613005: Remove interface_impl.h and error_handler.h usage from chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 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/common/mojo/service_registry_impl.h ('k') | device/serial/serial_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/service_registry_impl.cc
diff --git a/content/common/mojo/service_registry_impl.cc b/content/common/mojo/service_registry_impl.cc
index ac4eb7dd6bac7e6bff9ee7fb83b7412710012406..4557598499cd7906bb5cc7d28559ec22a8150c7b 100644
--- a/content/common/mojo/service_registry_impl.cc
+++ b/content/common/mojo/service_registry_impl.cc
@@ -10,7 +10,9 @@ namespace content {
ServiceRegistryImpl::ServiceRegistryImpl()
: binding_(this), weak_factory_(this) {
- binding_.set_error_handler(this);
+ binding_.set_connection_error_handler(
+ base::Bind(&ServiceRegistryImpl::OnConnectionError,
+ base::Unretained(this)));
}
ServiceRegistryImpl::~ServiceRegistryImpl() {
« no previous file with comments | « content/common/mojo/service_registry_impl.h ('k') | device/serial/serial_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698