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

Unified Diff: mojo/public/cpp/bindings/interface_ptr.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 | « mash/catalog_viewer/catalog_viewer.cc ('k') | mojo/public/cpp/bindings/lib/interface_ptr_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/interface_ptr.h
diff --git a/mojo/public/cpp/bindings/interface_ptr.h b/mojo/public/cpp/bindings/interface_ptr.h
index d894984993c3a4e075de399f130aa676ca0753d2..edcb9bf2baf656ee80e10d585729409d4a16c1df 100644
--- a/mojo/public/cpp/bindings/interface_ptr.h
+++ b/mojo/public/cpp/bindings/interface_ptr.h
@@ -126,17 +126,6 @@ class InterfacePtr {
return internal_state_.HasAssociatedInterfaces();
}
- // Blocks the current thread until the next incoming response callback arrives
- // or an error occurs. Returns |true| if a response arrived, or |false| in
- // case of error.
- //
- // This method may only be called if the InterfacePtr has been bound to a
- // message pipe and there are no associated interfaces running.
- bool WaitForIncomingResponse() {
- CHECK(!HasAssociatedInterfaces());
- return internal_state_.WaitForIncomingResponse();
- }
-
// Indicates whether the message pipe has encountered an error. If true,
// method calls made on this interface will be dropped (and may already have
// been dropped).
« no previous file with comments | « mash/catalog_viewer/catalog_viewer.cc ('k') | mojo/public/cpp/bindings/lib/interface_ptr_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698