OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_NACL_MOJO_SYSCALL_H_ | 5 #ifndef MOJO_NACL_MOJO_SYSCALL_H_ |
6 #define MOJO_NACL_MOJO_SYSCALL_H_ | 6 #define MOJO_NACL_MOJO_SYSCALL_H_ |
7 | 7 |
| 8 // Injects a NaClDesc for Mojo support. This provides the implementation of the |
| 9 // Mojo system API outside the NaCl sandbox. |
8 void InjectMojo(struct NaClApp* nap); | 10 void InjectMojo(struct NaClApp* nap); |
9 | 11 |
| 12 // Injects a "disabled" NaClDesc for Mojo support. This is to make debugging |
| 13 // more straightforward in the case where Mojo is not enabled for NaCl plugins. |
| 14 void InjectDisabledMojo(struct NaClApp* nap); |
| 15 |
10 #endif // MOJO_NACL_MOJO_SYSCALL_H_ | 16 #endif // MOJO_NACL_MOJO_SYSCALL_H_ |
OLD | NEW |