| 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.browser; | 5 package org.chromium.content.browser; |
| 6 | 6 |
| 7 import android.os.Bundle; | 7 import android.os.Bundle; |
| 8 | 8 |
| 9 import org.chromium.content.common.IChildProcessCallback; | 9 import org.chromium.content.common.IChildProcessCallback; |
| 10 import org.chromium.content.common.IChildProcessService; | 10 import org.chromium.content.common.IChildProcessService; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 * Called when the connection to the service is established. | 33 * Called when the connection to the service is established. |
| 34 * @param pid the pid of the child process | 34 * @param pid the pid of the child process |
| 35 */ | 35 */ |
| 36 void onConnected(int pid); | 36 void onConnected(int pid); |
| 37 } | 37 } |
| 38 | 38 |
| 39 // Names of items placed in the bind intent or connection bundle. | 39 // Names of items placed in the bind intent or connection bundle. |
| 40 public static final String EXTRA_COMMAND_LINE = | 40 public static final String EXTRA_COMMAND_LINE = |
| 41 "com.google.android.apps.chrome.extra.command_line"; | 41 "com.google.android.apps.chrome.extra.command_line"; |
| 42 // Note the FDs may only be passed in the connection bundle. | 42 // Note the FDs may only be passed in the connection bundle. |
| 43 public static final String EXTRA_FILES_PREFIX = | 43 public static final String EXTRA_FILES = "com.google.android.apps.chrome.ext
ra.extraFiles"; |
| 44 "com.google.android.apps.chrome.extra.extraFile_"; | |
| 45 public static final String EXTRA_FILES_ID_SUFFIX = "_id"; | |
| 46 public static final String EXTRA_FILES_FD_SUFFIX = "_fd"; | |
| 47 | 44 |
| 48 // Used to pass the CPU core count to child processes. | 45 // Used to pass the CPU core count to child processes. |
| 49 public static final String EXTRA_CPU_COUNT = | 46 public static final String EXTRA_CPU_COUNT = |
| 50 "com.google.android.apps.chrome.extra.cpu_count"; | 47 "com.google.android.apps.chrome.extra.cpu_count"; |
| 51 // Used to pass the CPU features mask to child processes. | 48 // Used to pass the CPU features mask to child processes. |
| 52 public static final String EXTRA_CPU_FEATURES = | 49 public static final String EXTRA_CPU_FEATURES = |
| 53 "com.google.android.apps.chrome.extra.cpu_features"; | 50 "com.google.android.apps.chrome.extra.cpu_features"; |
| 54 | 51 |
| 55 int getServiceNumber(); | 52 int getServiceNumber(); |
| 56 | 53 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 * call should be succeeded by removeStrongBinding(), but multiple strong bi
ndings can be | 122 * call should be succeeded by removeStrongBinding(), but multiple strong bi
ndings can be |
| 126 * requested and released independently. | 123 * requested and released independently. |
| 127 */ | 124 */ |
| 128 void addStrongBinding(); | 125 void addStrongBinding(); |
| 129 | 126 |
| 130 /** | 127 /** |
| 131 * Called when the service is no longer in active use of the consumer. | 128 * Called when the service is no longer in active use of the consumer. |
| 132 */ | 129 */ |
| 133 void removeStrongBinding(); | 130 void removeStrongBinding(); |
| 134 } | 131 } |
| OLD | NEW |