Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1313)

Unified Diff: mojo/public/cpp/bindings/lib/interface_ptr_state.h

Issue 2096293002: Eliminate usage of InterfacePtr::WaitForIncomingResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybots failure Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/bindings/interface_ptr.h ('k') | mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « mojo/public/cpp/bindings/interface_ptr.h ('k') | mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698