summaryrefslogtreecommitdiffstats
path: root/mojo/common
diff options
context:
space:
mode:
authorben <ben@chromium.org>2015-07-29 11:12:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-29 18:12:47 +0000
commitdb9fe96835e12442682df6f66f2db46d208f9914 (patch)
tree79f7eabf944b4838647f4fc74fa38e66889d4436 /mojo/common
parent714369b5fbc48bac4a20743abcfa424ec65b9e71 (diff)
downloadchromium_src-db9fe96835e12442682df6f66f2db46d208f9914.zip
chromium_src-db9fe96835e12442682df6f66f2db46d208f9914.tar.gz
chromium_src-db9fe96835e12442682df6f66f2db46d208f9914.tar.bz2
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}
Diffstat (limited to 'mojo/common')
-rw-r--r--mojo/common/weak_binding_set.h11
1 files changed, 0 insertions, 11 deletions
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<Interface> request) {
auto binding = new WeakBinding<Interface>(impl, request.Pass());
binding->set_connection_error_handler([this]() { OnConnectionError(); });