blob: ec232d7c165f4a3b10a0705096c54766f3c98979 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.base.process_launcher;
/**
* Constants to be used by child processes.
*/
public interface ChildProcessConstants {
// Below are the names for the items placed in the bind or start command intent.
// Note that because that intent maybe reused if a service is restarted, none should be process
// specific.
public static final String EXTRA_BIND_TO_CALLER =
"org.chromium.base.process_launcher.extra.bind_to_caller";
// Below are the names for the items placed in the Bundle passed in the
// IChildProcessService.setupConnection call, once the connection has been established.
// Key for the command line.
public static final String EXTRA_COMMAND_LINE =
"org.chromium.base.process_launcher.extra.command_line";
// Key for the file descriptors that should be mapped in the child process.
public static final String EXTRA_FILES = "org.chromium.base.process_launcher.extra.extraFiles";
}