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

Unified Diff: base/test/android/java/src/org/chromium/base/ITestController.aidl

Issue 2781913002: Change ITestClient to be similar to IChildProcessService. (Closed)
Patch Set: Fix compile error sync Created 3 years, 8 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: base/test/android/java/src/org/chromium/base/ITestController.aidl
diff --git a/base/test/android/java/src/org/chromium/base/ITestClient.aidl b/base/test/android/java/src/org/chromium/base/ITestController.aidl
similarity index 71%
copy from base/test/android/java/src/org/chromium/base/ITestClient.aidl
copy to base/test/android/java/src/org/chromium/base/ITestController.aidl
index 22acdfbca012a49a728ff00864ee50b2d9290a28..4bf742952c68eb06f32674946b01f8b3f0ebc056 100644
--- a/base/test/android/java/src/org/chromium/base/ITestClient.aidl
+++ b/base/test/android/java/src/org/chromium/base/ITestController.aidl
@@ -1,4 +1,4 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 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.
@@ -10,17 +10,8 @@ import org.chromium.base.process_launcher.FileDescriptorInfo;
/**
* This interface is used to control child processes.
*/
-interface ITestClient {
- /**
- * Runs the native <code>main</code> method in that service's process.
- * @param args the arguments passed to <code>main</code>
- * @param fdsToMap a list of file descriptors that are mapped in the native code
- * in <code>base::GlobalDescriptors</code>.
- * @return the process ID for the service's process.
- */
- int launch(in String[] args, in FileDescriptorInfo[] fdsToMap);
-
- /**
+interface ITestController {
+ /**
* Blocks until the <code>main</code> method started with {@link #launch()} returns, or returns
* immediately if main has already returned.
* @param timeoutMs time in milliseconds after which this method returns even if the main method

Powered by Google App Engine
This is Rietveld 408576698