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

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

Issue 544103002: mojo: java core API: Allow interaction with native handles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Follow review Created 6 years, 3 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/java/system/src/org/chromium/mojo/system/Handle.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/java/system/src/org/chromium/mojo/system/InvalidHandle.java
diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/InvalidHandle.java b/mojo/public/java/system/src/org/chromium/mojo/system/InvalidHandle.java
index 19d31ae8cb77b4ca48e3ada63f21f837acb5fe4c..12f0457291d912e257d73f1ab1efc4f50fcc903a 100644
--- a/mojo/public/java/system/src/org/chromium/mojo/system/InvalidHandle.java
+++ b/mojo/public/java/system/src/org/chromium/mojo/system/InvalidHandle.java
@@ -68,7 +68,6 @@ public class InvalidHandle implements UntypedHandle, MessagePipeHandle, Consumer
return this;
}
-
/**
* @see Handle#toUntypedHandle()
*/
@@ -78,6 +77,14 @@ public class InvalidHandle implements UntypedHandle, MessagePipeHandle, Consumer
}
/**
+ * @see Handle#releaseNativeHandle()
+ */
+ @Override
+ public int releaseNativeHandle() {
+ return -1;
+ }
+
+ /**
* @see UntypedHandle#toMessagePipeHandle()
*/
@Override
« no previous file with comments | « mojo/public/java/system/src/org/chromium/mojo/system/Handle.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698