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

Side by Side Diff: content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl

Issue 2760093002: Making callbacks in Android ChildProcessLauncher generic. (Closed)
Patch Set: Synced Created 3 years, 9 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.content.common; 5 package org.chromium.content.common;
6 6
7 import org.chromium.content.common.IChildProcessCallback;
8
9 import android.view.Surface; 7 import android.view.Surface;
10 import android.os.Bundle; 8 import android.os.Bundle;
11 9
12 interface IChildProcessService { 10 interface IChildProcessService {
13 // On the first call to this method, the service will record the calling PID 11 // On the first call to this method, the service will record the calling PID
14 // and return true. Subsequent calls will only return true if the calling PID 12 // and return true. Subsequent calls will only return true if the calling PID
15 // is the same as the recorded one. 13 // is the same as the recorded one.
16 boolean bindToCaller(); 14 boolean bindToCaller();
17 15
18 // Sets up the initial IPC channel and returns the pid of the child process. 16 // Sets up the initial IPC channel and returns the pid of the child process.
19 int setupConnection(in Bundle args, IChildProcessCallback callback); 17 int setupConnection(in Bundle args, IBinder callback);
20 18
21 // Asks the child service to crash so that we can test the termination logic. 19 // Asks the child service to crash so that we can test the termination logic.
22 void crashIntentionallyForTesting(); 20 void crashIntentionallyForTesting();
23 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698