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

Unified Diff: testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java

Issue 2735113003: Changing SpawnChild to return a struct.
Patch Set: Created 3 years, 9 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: testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java
diff --git a/testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java b/testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java
index 94aaeef126e242e4c740b50cd137089fa180a24a..591c8234de9e7eb48e9271092f50aac12d6f90ed 100644
--- a/testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java
+++ b/testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java
@@ -19,9 +19,11 @@ public final class MainRunner {
}
// Maps the file descriptors and executes the main method with the passed in command line.
- public static int runMain(String[] commandLine, int[] fdsToMapKeys, int[] fdsToMapFds) {
- return nativeRunMain(commandLine, fdsToMapKeys, fdsToMapFds);
+ public static int runMain(String[] commandLine, int[] fdsToMapKeys, int[] fdsToMapFds,
+ int[] objectsToMapKeys, Object[] objectsToMapObjects) {
+ return nativeRunMain(
+ commandLine, fdsToMapKeys, fdsToMapFds, objectsToMapKeys, objectsToMapObjects);
}
- private static native int nativeRunMain(
- String[] commandLine, int[] fdsToMapKeys, int[] fdsToMapFds);
+ private static native int nativeRunMain(String[] commandLine, int[] fdsToMapKeys,
+ int[] fdsToMapFds, int[] objectsToMapKeys, Object[] objectsToMapObjects);
}
« no previous file with comments | « testing/android/native_test/java/AndroidManifest.xml.jinja2 ('k') | testing/android/native_test/main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698