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

Unified Diff: mojo/public/java/system/src/org/chromium/mojo/system/Handle.java

Issue 2741033003: Mojo EDK: Introduce MojoQueryHandleSignalsState API (Closed)
Patch Set: fix stupid bad DCHECK Created 3 years, 9 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
Index: mojo/public/java/system/src/org/chromium/mojo/system/Handle.java
diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/Handle.java b/mojo/public/java/system/src/org/chromium/mojo/system/Handle.java
index 6181669dff6a74ba565624e20c2a9ba5e524dbc1..903f36d6776fd86ed33076faea7a168e8cd9c5b8 100644
--- a/mojo/public/java/system/src/org/chromium/mojo/system/Handle.java
+++ b/mojo/public/java/system/src/org/chromium/mojo/system/Handle.java
@@ -4,7 +4,7 @@
package org.chromium.mojo.system;
-import org.chromium.mojo.system.Core.WaitResult;
+import org.chromium.mojo.system.Core.HandleSignalsState;
import java.io.Closeable;
@@ -25,9 +25,9 @@ public interface Handle extends Closeable {
public void close();
/**
- * @see Core#wait(Handle, Core.HandleSignals, long)
+ * @return the last known signaling state of the handle.
*/
- public WaitResult wait(Core.HandleSignals signals, long deadline);
+ public HandleSignalsState querySignalsState();
/**
* @return whether the handle is valid. A handle is valid until it has been explicitly closed or

Powered by Google App Engine
This is Rietveld 408576698