OLD | NEW |
---|---|
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.base.process_launcher; |
boliu
2017/03/29 01:07:01
are security owners set up for base?
Jay Civelli
2017/03/29 16:12:17
Yes, this directory has AIDL files OWNERS set as I
| |
6 | 6 |
7 import android.view.Surface; | |
8 import android.os.Bundle; | 7 import android.os.Bundle; |
9 | 8 |
10 interface IChildProcessService { | 9 interface IChildProcessService { |
11 // On the first call to this method, the service will record the calling PID | 10 // On the first call to this method, the service will record the calling PID |
12 // and return true. Subsequent calls will only return true if the calling PID | 11 // and return true. Subsequent calls will only return true if the calling PID |
13 // is the same as the recorded one. | 12 // is the same as the recorded one. |
14 boolean bindToCaller(); | 13 boolean bindToCaller(); |
15 | 14 |
16 // Sets up the initial IPC channel and returns the pid of the child process. | 15 // Sets up the initial IPC channel and returns the pid of the child process. |
17 int setupConnection(in Bundle args, IBinder callback); | 16 int setupConnection(in Bundle args, IBinder callback); |
18 | 17 |
19 // Asks the child service to crash so that we can test the termination logic. | 18 // Asks the child service to crash so that we can test the termination logic. |
20 void crashIntentionallyForTesting(); | 19 void crashIntentionallyForTesting(); |
21 } | 20 } |
OLD | NEW |