Index: mojo/public/cpp/bindings/binding.h |
diff --git a/mojo/public/cpp/bindings/binding.h b/mojo/public/cpp/bindings/binding.h |
index 740a3952d2dc5a6c88af469b9e3b8443cf4363e5..1da331bb118cc964e12b37d584aea5fa33a7ba85 100644 |
--- a/mojo/public/cpp/bindings/binding.h |
+++ b/mojo/public/cpp/bindings/binding.h |
@@ -23,7 +23,6 @@ |
namespace mojo { |
-class AssociatedGroup; |
class MessageReceiver; |
// Represents the binding of an interface implementation to a message pipe. |
@@ -257,14 +256,6 @@ class Binding { |
// transferred to the caller. |
MessagePipeHandle handle() const { return internal_state_.handle(); } |
- // Returns the associated group that this object belongs to. Returns null if: |
- // - this object is not bound; or |
- // - the interface doesn't have methods to pass associated interface |
- // pointers or requests. |
- AssociatedGroup* associated_group() { |
- return internal_state_.associated_group(); |
- } |
- |
// Sends a no-op message on the underlying message pipe and runs the current |
// message loop until its response is received. This can be used in tests to |
// verify that no message was sent on a message pipe in response to some |