OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.content.browser; | |
6 | |
7 /** | |
8 * Constants to be used by child processes. | |
9 */ | |
10 public interface ChildProcessConstants { | |
11 // Below are the names for the items placed in the bind or start command int
ent. | |
12 // Note that because that intent maybe reused if a service is restarted, non
e should be process | |
13 // specific. | |
14 | |
15 // Key in the binding Intent's Bundle for the ChromiumLinkerParams. | |
16 public static final String EXTRA_LINKER_PARAMS = | |
17 "com.google.android.apps.chrome.extra.linker_params"; | |
18 public static final String EXTRA_BIND_TO_CALLER = | |
19 "com.google.android.apps.chrome.extra.bind_to_caller"; | |
20 | |
21 // Below are the names for the items placed in the Bundle passed in the | |
22 // IChildProcessService.setupConnection call, once the connection has been e
stablished. | |
23 | |
24 // Key for the command line. | |
25 public static final String EXTRA_COMMAND_LINE = | |
26 "com.google.android.apps.chrome.extra.command_line"; | |
27 | |
28 // Key for the file descriptors that should be mapped in the child process.. | |
29 public static final String EXTRA_FILES = "com.google.android.apps.chrome.ext
ra.extraFiles"; | |
30 | |
31 // Key for the number of CPU cores. | |
32 public static final String EXTRA_CPU_COUNT = "com.google.android.apps.chrome
.extra.cpu_count"; | |
33 | |
34 // Key for the CPU features mask. | |
35 public static final String EXTRA_CPU_FEATURES = | |
36 "com.google.android.apps.chrome.extra.cpu_features"; | |
37 } | |
OLD | NEW |