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

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

Issue 306893010: Generate java bindings for structs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload after revert Created 6 years, 6 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/src/org/chromium/mojo/system/InvalidHandle.java
diff --git a/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java b/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
index 36c516cfe259d79a348fe7d5258a901416ff1f39..2949aa76bb72776cb4aa143eb6185eb845bf695a 100644
--- a/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
+++ b/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
@@ -18,6 +18,17 @@ public class InvalidHandle implements UntypedHandle, MessagePipeHandle, Consumer
ProducerHandle, SharedBufferHandle {
/**
+ * Instance singleton.
+ */
+ public static final InvalidHandle INSTANCE = new InvalidHandle();
+
+ /**
+ * Private constructor.
+ */
+ private InvalidHandle() {
+ }
+
+ /**
* @see Handle#close()
*/
@Override

Powered by Google App Engine
This is Rietveld 408576698