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 291a29d3ca8f3edbed389aed443da2a7161065d2..907e2b9c0be109a3c733ceee3463ef340f6f69a6 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 |
@@ -50,4 +50,10 @@ public interface Handle extends Closeable { |
*/ |
public Handle pass(); |
+ /** |
+ * Releases the native handle backed by this {@link Handle}. The caller owns the handle and must |
+ * close it. |
+ */ |
+ public int releaseNativeHandle(); |
+ |
} |