Index: base/test/android/java/src/org/chromium/base/ITestClient.aidl |
diff --git a/base/test/android/java/src/org/chromium/base/ITestClient.aidl b/base/test/android/java/src/org/chromium/base/ITestClient.aidl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5132472c50c9788da030033ee190556f935b5be0 |
--- /dev/null |
+++ b/base/test/android/java/src/org/chromium/base/ITestClient.aidl |
@@ -0,0 +1,18 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.base; |
+ |
+import org.chromium.base.FileDescriptorInfo; |
+import org.chromium.base.MainReturnCodeResult; |
+ |
+/** |
+ * This interface is used to control child processes. |
+ */ |
+interface ITestClient { |
+ int launch(in String[] args, in FileDescriptorInfo[] fdsToMap); |
+ MainReturnCodeResult waitForMainToReturn(int timeoutMs); |
+ boolean forceStopSynchronous(int exitCode); |
+ void forceStop(int exitCode); |
+} |