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

Unified Diff: mojo/android/system/core_impl.cc

Issue 324783002: Mojo: Add a MojoCreateMessagePipeOptions struct parameter to MojoCreateMessagePipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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
« no previous file with comments | « no previous file | mojo/bindings/js/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/system/core_impl.cc
diff --git a/mojo/android/system/core_impl.cc b/mojo/android/system/core_impl.cc
index 473bf329d1e6399b84bdc6bab346750c5ef4d5b9..1d7f87925acef56119e26a939e0f9318952cf7bf 100644
--- a/mojo/android/system/core_impl.cc
+++ b/mojo/android/system/core_impl.cc
@@ -78,7 +78,8 @@ static jint WaitMany(JNIEnv* env,
static jobject CreateMessagePipe(JNIEnv* env, jobject jcaller) {
MojoHandle handle1;
MojoHandle handle2;
- MojoResult result = MojoCreateMessagePipe(&handle1, &handle2);
+ // TODO(vtl): Add support for the options struct.
+ MojoResult result = MojoCreateMessagePipe(NULL, &handle1, &handle2);
return Java_CoreImpl_newNativeCreationResult(env, result, handle1, handle2)
.Release();
}
« no previous file with comments | « no previous file | mojo/bindings/js/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698