| 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include "mojo/edk/embedder/embedder_internal.h" | 7 #include "mojo/edk/embedder/embedder_internal.h" |
| 8 #include "mojo/edk/system/core.h" | 8 #include "mojo/edk/system/core.h" |
| 9 #include "mojo/public/c/system/buffer.h" | 9 #include "mojo/public/c/system/buffer.h" |
| 10 #include "mojo/public/c/system/data_pipe.h" | 10 #include "mojo/public/c/system/data_pipe.h" |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 237 |
| 238 MojoResult MojoUnwrapPlatformSharedBufferHandle( | 238 MojoResult MojoUnwrapPlatformSharedBufferHandle( |
| 239 MojoHandle mojo_handle, | 239 MojoHandle mojo_handle, |
| 240 MojoPlatformHandle* platform_handle, | 240 MojoPlatformHandle* platform_handle, |
| 241 size_t* num_bytes, | 241 size_t* num_bytes, |
| 242 MojoPlatformSharedBufferHandleFlags* flags) { | 242 MojoPlatformSharedBufferHandleFlags* flags) { |
| 243 return g_core->UnwrapPlatformSharedBufferHandle(mojo_handle, platform_handle, | 243 return g_core->UnwrapPlatformSharedBufferHandle(mojo_handle, platform_handle, |
| 244 num_bytes, flags); | 244 num_bytes, flags); |
| 245 } | 245 } |
| 246 | 246 |
| 247 MojoResult MojoNotifyBadMessage(MojoMessageHandle message) { |
| 248 return g_core->NotifyBadMessage(message); |
| 249 } |
| 250 |
| 247 } // extern "C" | 251 } // extern "C" |
| OLD | NEW |