OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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; | 7 import org.chromium.content.common.IChildProcessCallback; |
8 | 8 |
9 import android.view.Surface; | 9 import android.view.Surface; |
10 import android.os.Bundle; | 10 import android.os.Bundle; |
11 | 11 |
12 interface IChildProcessService { | 12 interface IChildProcessService { |
13 // Sets up the initial IPC channel and returns the pid of the child process. | 13 // Sets up the initial IPC channel and returns the pid of the child process. |
14 int setupConnection(in Bundle args, IChildProcessCallback callback); | 14 int setupConnection(in Bundle args, IChildProcessCallback callback); |
| 15 |
| 16 // Apply RELRO section sharing settings. |
| 17 // |relroBundle| must come from org.chromium.base.Linker.getRelroBundle() |
| 18 // called in the browser process. |
| 19 void applyRelro(in Bundle relroBundle); |
15 } | 20 } |
OLD | NEW |