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

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

Issue 397493007: Add support for MojoCreateMessagePipeOptions struct to Java bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 6 years, 5 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/Core.java
diff --git a/mojo/public/java/src/org/chromium/mojo/system/Core.java b/mojo/public/java/src/org/chromium/mojo/system/Core.java
index 017e1e032d5a7edb6c23f9a1d5192ccb93a498d6..f0ff6a0aba5bfbbc6aa4be45cf549814a0bd5415 100644
--- a/mojo/public/java/src/org/chromium/mojo/system/Core.java
+++ b/mojo/public/java/src/org/chromium/mojo/system/Core.java
@@ -149,11 +149,12 @@ public interface Core {
/**
* Creates a message pipe, which is a bidirectional communication channel for framed data (i.e.,
- * messages). Messages can contain plain data and/or Mojo handles.
+ * messages), with the given options. Messages can contain plain data and/or Mojo handles.
*
* @return the set of handles for the two endpoints (ports) of the message pipe.
*/
- public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe();
+ public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe(
+ MessagePipeHandle.CreateOptions options);
/**
* Creates a data pipe, which is a unidirectional communication channel for unframed data, with

Powered by Google App Engine
This is Rietveld 408576698