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 #include "mojo/edk/embedder/embedder_internal.h" | 5 #include "mojo/edk/embedder/embedder_internal.h" |
6 #include "mojo/edk/system/core.h" | 6 #include "mojo/edk/system/core.h" |
7 #include "mojo/public/c/system/buffer.h" | 7 #include "third_party/mojo/src/mojo/public/c/system/buffer.h" |
8 #include "mojo/public/c/system/data_pipe.h" | 8 #include "third_party/mojo/src/mojo/public/c/system/data_pipe.h" |
9 #include "mojo/public/c/system/functions.h" | 9 #include "third_party/mojo/src/mojo/public/c/system/functions.h" |
10 #include "mojo/public/c/system/message_pipe.h" | 10 #include "third_party/mojo/src/mojo/public/c/system/message_pipe.h" |
11 | 11 |
12 using mojo::edk::internal::g_core; | 12 using mojo::edk::internal::g_core; |
13 | 13 |
14 // TODO(use_chrome_edk): commented out since for now we use the entrypoints in | 14 // TODO(use_chrome_edk): commented out since for now we use the entrypoints in |
15 // third_party and that checks the command line to redirect here. | 15 // third_party and that checks the command line to redirect here. |
16 /* | 16 /* |
17 | 17 |
18 // Definitions of the system functions. | 18 // Definitions of the system functions. |
19 extern "C" { | 19 extern "C" { |
20 MojoTimeTicks MojoGetTimeTicksNow() { | 20 MojoTimeTicks MojoGetTimeTicksNow() { |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 MojoMapBufferFlags flags) { | 140 MojoMapBufferFlags flags) { |
141 return g_core->MapBuffer(buffer_handle, offset, num_bytes, buffer, flags); | 141 return g_core->MapBuffer(buffer_handle, offset, num_bytes, buffer, flags); |
142 } | 142 } |
143 | 143 |
144 MojoResult MojoUnmapBuffer(void* buffer) { | 144 MojoResult MojoUnmapBuffer(void* buffer) { |
145 return g_core->UnmapBuffer(buffer); | 145 return g_core->UnmapBuffer(buffer); |
146 } | 146 } |
147 | 147 |
148 } // extern "C" | 148 } // extern "C" |
149 */ | 149 */ |
OLD | NEW |