Index: mojo/public/java/src/org/chromium/mojo/system/Handle.java |
diff --git a/mojo/public/java/src/org/chromium/mojo/system/Handle.java b/mojo/public/java/src/org/chromium/mojo/system/Handle.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6575f14cefc3a1109bf12cdfd652b69b33de694b |
--- /dev/null |
+++ b/mojo/public/java/src/org/chromium/mojo/system/Handle.java |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.mojo.system; |
+ |
+import java.io.Closeable; |
+ |
+/** |
+ * TODO(qsr): Insert description here. |
+ */ |
+public interface Handle extends Closeable { |
+ |
+ /** |
+ * TODO(qsr): |
+ */ |
+ @Override |
+ public void close(); |
+ |
+ /** |
+ * TODO(qsr): |
+ * |
+ * @param flags |
+ * @param deadline |
+ * @return TODO(qsr) |
+ */ |
+ public MojoResult wait(Core.WaitFlags flags, long deadline); |
+ |
+ /** |
+ * TODO(qsr): |
+ * |
+ * @return TODO(qsr) |
+ */ |
+ public boolean isValid(); |
+ |
+} |