OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.base; |
| 6 |
| 7 import org.chromium.base.FileDescriptorInfo; |
| 8 import org.chromium.base.MainReturnCodeResult; |
| 9 |
| 10 /** |
| 11 * This interface is used to control child processes. |
| 12 */ |
| 13 interface ITestClient { |
| 14 int launch(in String[] args, in FileDescriptorInfo[] fdsToMap); |
| 15 MainReturnCodeResult waitForMainToReturn(int timeoutMs); |
| 16 boolean forceStopSynchronous(int exitCode); |
| 17 void forceStop(int exitCode); |
| 18 } |
OLD | NEW |