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 // WARNING this file was generated by generate_nacl_bindings.py | 5 // WARNING this file was generated by generate_nacl_bindings.py |
6 // Do not edit by hand. | 6 // Do not edit by hand. |
7 | 7 |
8 #include "mojo/public/c/system/core.h" | 8 #include "mojo/public/c/system/core.h" |
9 #include "mojo/public/platform/nacl/mojo_irt.h" | 9 #include "mojo/public/platform/nacl/mojo_irt.h" |
10 #include "native_client/src/public/chrome_main.h" | 10 #include "native_client/src/public/chrome_main.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 return irt_mojo->MojoReadMessage(message_pipe_handle, bytes, num_bytes, | 217 return irt_mojo->MojoReadMessage(message_pipe_handle, bytes, num_bytes, |
218 handles, num_handles, flags); | 218 handles, num_handles, flags); |
219 } | 219 } |
220 | 220 |
221 MojoResult _MojoGetInitialHandle(MojoHandle* handle) { | 221 MojoResult _MojoGetInitialHandle(MojoHandle* handle) { |
222 struct nacl_irt_mojo* irt_mojo = get_irt_mojo(); | 222 struct nacl_irt_mojo* irt_mojo = get_irt_mojo(); |
223 if (irt_mojo == NULL) | 223 if (irt_mojo == NULL) |
224 return MOJO_RESULT_INTERNAL; | 224 return MOJO_RESULT_INTERNAL; |
225 return irt_mojo->_MojoGetInitialHandle(handle); | 225 return irt_mojo->_MojoGetInitialHandle(handle); |
226 } | 226 } |
| 227 |
OLD | NEW |