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

Unified Diff: base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl

Issue 2810433002: android: Async setupConnection binder call (Closed)
Patch Set: deflake test 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/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl
diff --git a/base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl b/base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl
index 32a534785eceec11003a1d7d9a6ba2397ba14485..fc2fd690bf3e9e9462484d77c0e8166a2878454a 100644
--- a/base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl
+++ b/base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl
@@ -6,14 +6,17 @@ package org.chromium.base.process_launcher;
import android.os.Bundle;
+import org.chromium.base.process_launcher.ICallbackInt;
+
interface IChildProcessService {
// On the first call to this method, the service will record the calling PID
// and return true. Subsequent calls will only return true if the calling PID
// is the same as the recorded one.
boolean bindToCaller();
- // Sets up the initial IPC channel and returns the pid of the child process.
- int setupConnection(in Bundle args, IBinder callback);
+ // Sets up the initial IPC channel.
+ oneway void setupConnection(in Bundle args, ICallbackInt pidCallback,
+ IBinder gpuCallback);
// Asks the child service to crash so that we can test the termination logic.
oneway void crashIntentionallyForTesting();

Powered by Google App Engine
This is Rietveld 408576698