From db9fe96835e12442682df6f66f2db46d208f9914 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 29 Jul 2015 11:12:17 -0700 Subject: Remove interface_impl.h and error_handler.h usage from chromium R=yzshen@chromium.org BUG=none Review URL: https://codereview.chromium.org/1262613005 Cr-Commit-Position: refs/heads/master@{#340921} --- mojo/common/weak_binding_set.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mojo/common') diff --git a/mojo/common/weak_binding_set.h b/mojo/common/weak_binding_set.h index 66a90b1..a94e8f4 100644 --- a/mojo/common/weak_binding_set.h +++ b/mojo/common/weak_binding_set.h @@ -28,17 +28,6 @@ class WeakBindingSet { error_handler_ = error_handler; } - // NOTE: Deprecated. Please use the method above. - // TODO(yzshen): Remove this method once all callsites are converted. - void set_error_handler(ErrorHandler* error_handler) { - if (error_handler) { - set_connection_error_handler( - [error_handler]() { error_handler->OnConnectionError(); }); - } else { - set_connection_error_handler(Closure()); - } - } - void AddBinding(Interface* impl, InterfaceRequest request) { auto binding = new WeakBinding(impl, request.Pass()); binding->set_connection_error_handler([this]() { OnConnectionError(); }); -- cgit v1.1