| 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 {{generator_warning}} | 5 {{generator_warning}} |
| 6 | 6 |
| 7 #include "mojo/public/c/system/core.h" | 7 #include "mojo/public/c/system/core.h" |
| 8 #include "{{platform_dir}}/mojo_irt.h" | 8 #include "{{platform_dir}}/mojo_irt.h" |
| 9 #include "native_client/src/public/chrome_main.h" | 9 #include "native_client/src/public/chrome_main.h" |
| 10 #include "native_client/src/public/imc_syscalls.h" | 10 #include "native_client/src/public/imc_syscalls.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 sizeof(g_irt_mojo)); | 26 sizeof(g_irt_mojo)); |
| 27 if (rc != sizeof(g_irt_mojo)) | 27 if (rc != sizeof(g_irt_mojo)) |
| 28 return NULL; | 28 return NULL; |
| 29 else | 29 else |
| 30 g_irt_mojo_valid = true; | 30 g_irt_mojo_valid = true; |
| 31 } | 31 } |
| 32 return &g_irt_mojo; | 32 return &g_irt_mojo; |
| 33 } | 33 } |
| 34 | 34 |
| 35 {{body}} | 35 {{body}} |
| OLD | NEW |