Chromium Code Reviews| 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 // An empty interface whose closure indicates that the NaCl plugin should exit. | |
|
Mark Seaborn
2016/12/19 19:00:36
Nit: "plugin" -> "loader process"
In the NaCl/Chr
Sam McNally
2016/12/19 23:12:12
Done.
| |
| 25 interface NaClExitControl {}; | |
| OLD | NEW |