| Index: mojo/edk/system/core.h
|
| diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
|
| index 2e3e5b527fe73accf609dc6b386bee4998c12705..9b109412868eaadb78ddd88e2f3fa3efe3db1f39 100644
|
| --- a/mojo/edk/system/core.h
|
| +++ b/mojo/edk/system/core.h
|
| @@ -51,6 +51,8 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
|
|
|
| scoped_refptr<Dispatcher> GetDispatcher(MojoHandle handle);
|
|
|
| + void SetDefaultProcessErrorCallback(const ProcessErrorCallback& callback);
|
| +
|
| // Called in the parent process any time a new child is launched.
|
| void AddChild(base::ProcessHandle process_handle,
|
| ScopedPlatformHandle platform_handle,
|
| @@ -290,6 +292,10 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
|
| // to access it.
|
| std::unique_ptr<NodeController> node_controller_;
|
|
|
| + // The default callback to invoke, if any, when a process error is reported
|
| + // but cannot be associated with a specific process.
|
| + ProcessErrorCallback default_process_error_callback_;
|
| +
|
| base::Lock handles_lock_;
|
| HandleTable handles_;
|
|
|
|
|