diff options
Diffstat (limited to 'chromium/fuchsia/fidl/cast/application_context.fidl')
-rw-r--r-- | chromium/fuchsia/fidl/cast/application_context.fidl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/fuchsia/fidl/cast/application_context.fidl b/chromium/fuchsia/fidl/cast/application_context.fidl index 3b8b284dc85..4a1027a6092 100644 --- a/chromium/fuchsia/fidl/cast/application_context.fidl +++ b/chromium/fuchsia/fidl/cast/application_context.fidl @@ -12,4 +12,11 @@ protocol ApplicationContext { /// Used by the Agent to receive a controller from the Cast Runner. /// Can only be called at most one time for the lifetime of the Component. SetApplicationController(ApplicationController controller); + + /// Called if the application component exits gracefully, with the same + /// `exit_code` as would be reported via `ComponentController.OnTerminated()`. + /// Values less than or equal to zero are `zx.status` codes. + /// May be called at most once, immediately prior to termination. + [Transitional] + OnApplicationExit(int64 exit_code); }; |