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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.base.process_launcher; 5 package org.chromium.base.process_launcher;
6 6
7 import android.os.Bundle; 7 import android.os.Bundle;
8 8
9 import org.chromium.base.process_launcher.ICallbackInt;
10
9 interface IChildProcessService { 11 interface IChildProcessService {
10 // On the first call to this method, the service will record the calling PID 12 // On the first call to this method, the service will record the calling PID
11 // and return true. Subsequent calls will only return true if the calling PID 13 // and return true. Subsequent calls will only return true if the calling PID
12 // is the same as the recorded one. 14 // is the same as the recorded one.
13 boolean bindToCaller(); 15 boolean bindToCaller();
14 16
15 // Sets up the initial IPC channel and returns the pid of the child process. 17 // Sets up the initial IPC channel.
16 int setupConnection(in Bundle args, IBinder callback); 18 oneway void setupConnection(in Bundle args, ICallbackInt pidCallback,
19 IBinder gpuCallback);
17 20
18 // Asks the child service to crash so that we can test the termination logic. 21 // Asks the child service to crash so that we can test the termination logic.
19 oneway void crashIntentionallyForTesting(); 22 oneway void crashIntentionallyForTesting();
20 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698