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

Side by Side Diff: mojo/nacl/sfi/nacl_bindings_generator/mojo_syscall.cc.tmpl

Issue 1398213003: Refactored Non-SFI and SFI NaCl into separate directories. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « mojo/nacl/sfi/nacl_bindings_generator/mojo_irt.h.tmpl ('k') | nacl_bindings/BUILD.gn » ('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 {{generator_warning}} 5 {{generator_warning}}
6 6
7 #include "{{bindings_dir}}/mojo_syscall.h" 7 #include "{{bindings_dir}}/mojo_syscall.h"
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 MojoResult InjectMojo(struct NaClApp* nap, MojoHandle handle) { 101 MojoResult InjectMojo(struct NaClApp* nap, MojoHandle handle) {
102 NaClAppSetDesc(nap, NACL_MOJO_DESC, MakeMojoDesc(nap)); 102 NaClAppSetDesc(nap, NACL_MOJO_DESC, MakeMojoDesc(nap));
103 g_mojo_system = MojoSystemImplCreateImpl(); 103 g_mojo_system = MojoSystemImplCreateImpl();
104 return MojoSystemImplTransferHandle(MojoSystemImplGetDefaultImpl(), handle, 104 return MojoSystemImplTransferHandle(MojoSystemImplGetDefaultImpl(), handle,
105 g_mojo_system, &g_mojo_handle); 105 g_mojo_system, &g_mojo_handle);
106 } 106 }
107 107
108 void InjectDisabledMojo(struct NaClApp* nap) { 108 void InjectDisabledMojo(struct NaClApp* nap) {
109 NaClAppSetDesc(nap, NACL_MOJO_DESC, MakeDisabledMojoDesc(nap)); 109 NaClAppSetDesc(nap, NACL_MOJO_DESC, MakeDisabledMojoDesc(nap));
110 } 110 }
OLDNEW
« no previous file with comments | « mojo/nacl/sfi/nacl_bindings_generator/mojo_irt.h.tmpl ('k') | nacl_bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698