blob: 6f2b8322038671acb7ec482d1cf35fb45e8c379d [file] [log] [blame]
// Copyright 2018 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;
interface IParentProcess {
// Sends the child pid to the parent process. This will be called before any
// third-party code is loaded, and will be a no-op after the first call.
oneway void sendPid(int pid);
// Report exception before calling into native main method. This is before
// crash reporting is initialized, which means this exception would
// otherwise not be reported.
// Not oneway to ensure the browser receives the message before child exits.
void reportExceptionInInit(in String exception);
// Tells the parent proces the child exited cleanly. Not oneway to ensure
// the browser receives the message before child exits.
void reportCleanExit();
}