| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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 module nacl.mojom; | |
| 6 | |
| 7 [Native] | |
| 8 enum NaClErrorCode; | |
| 9 | |
| 10 interface NaClRendererHost { | |
| 11 // This message must be synchronous to ensure that the exit status is sent | |
| 12 // from NaCl to the renderer before the NaCl process exits very soon after. | |
| 13 [Sync] | |
| 14 ReportExitStatus(int32 exit_status) => (); | |
| 15 | |
| 16 // This message must be synchronous to ensure that the load status is sent | |
| 17 // from NaCl to the renderer before the NaCl process exits very soon after. | |
| 18 [Sync] | |
| 19 ReportLoadStatus(NaClErrorCode load_status) => (); | |
| 20 | |
| 21 ProvideExitControl(NaClExitControl exit_control); | |
| 22 }; | |
| 23 | |
| 24 // When this interface is closed, it indicates that the NaCl loader process | |
| 25 // should exit. | |
| 26 interface NaClExitControl {}; | |
| OLD | NEW |