Index: mojo/common/weak_binding_set.h |
diff --git a/mojo/common/weak_binding_set.h b/mojo/common/weak_binding_set.h |
index 87383889621c8e880f8523d77c37ad54a77314b7..aeeefe92875e9b04bf602f4056a867cc03cbd8a2 100644 |
--- a/mojo/common/weak_binding_set.h |
+++ b/mojo/common/weak_binding_set.h |
@@ -42,6 +42,8 @@ class WeakBindingSet : public ErrorHandler { |
bindings_.clear(); |
} |
+ bool empty() const { return bindings_.empty(); } |
+ |
private: |
// ErrorHandler implementation. |
void OnConnectionError() override { |