1 // Copyright 2017 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.base.process_launcher; 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 intent. 12 // Note that because that intent maybe reused if a service is restarted, none should be process 13 // specific. 14 15 public static final String EXTRA_BIND_TO_CALLER = 16 "org.chromium.base.process_launcher.extra.bind_to_caller"; 17 18 // Below are the names for the items placed in the Bundle passed in the 19 // IChildProcessService.setupConnection call, once the connection has been established. 20 21 // Key for the command line. 22 public static final String EXTRA_COMMAND_LINE = 23 "org.chromium.base.process_launcher.extra.command_line"; 24 25 // Key for the file descriptors that should be mapped in the child process. 26 public static final String EXTRA_FILES = "org.chromium.base.process_launcher.extra.extraFiles"; 27 } 28