Index: mojo/public/cpp/bindings/lib/interface_ptr_state.h |
diff --git a/mojo/public/cpp/bindings/lib/interface_ptr_state.h b/mojo/public/cpp/bindings/lib/interface_ptr_state.h |
index c76fc9c1bca733cd73940631aeef53c21c53b34a..584933ebc91b417c96c1cbdaf3e532819f8067ca 100644 |
--- a/mojo/public/cpp/bindings/lib/interface_ptr_state.h |
+++ b/mojo/public/cpp/bindings/lib/interface_ptr_state.h |
@@ -108,13 +108,6 @@ class InterfacePtrState<Interface, false> { |
bool HasAssociatedInterfaces() const { return false; } |
- bool WaitForIncomingResponse() { |
- ConfigureProxyIfNecessary(); |
- |
- DCHECK(router_); |
- return router_->WaitForIncomingMessage(MOJO_DEADLINE_INDEFINITE); |
- } |
- |
// After this method is called, the object is in an invalid state and |
// shouldn't be reused. |
InterfacePtrInfo<Interface> PassInterface() { |
@@ -265,13 +258,6 @@ class InterfacePtrState<Interface, true> { |
return router_ ? router_->HasAssociatedEndpoints() : false; |
} |
- bool WaitForIncomingResponse() { |
- ConfigureProxyIfNecessary(); |
- |
- DCHECK(router_); |
- return router_->WaitForIncomingMessage(MOJO_DEADLINE_INDEFINITE); |
- } |
- |
// After this method is called, the object is in an invalid state and |
// shouldn't be reused. |
InterfacePtrInfo<Interface> PassInterface() { |