Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Side by Side Diff: mojo/public/platform/nacl/libmojo.cc

Issue 988323004: NaCl: disable unimplmented Mojo APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | nacl_bindings/mojo_syscall.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | nacl_bindings/mojo_syscall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698