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

Unified Diff: mojo/public/platform/native/system_impl_private_thunks.c

Issue 1778753002: Implement MojoGetBufferInformation(), part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/platform/native/system_impl_private_thunks.c
diff --git a/mojo/public/platform/native/system_impl_private_thunks.c b/mojo/public/platform/native/system_impl_private_thunks.c
index 16af7afafa341a515a6507c647bc39d25bb84561..61a945f644fdbc77f864f8c7af1ae056bafdd345 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.c
+++ b/mojo/public/platform/native/system_impl_private_thunks.c
@@ -186,6 +186,16 @@ MojoResult MojoSystemImplDuplicateBufferHandle(
options, new_buffer_handle);
}
+MojoResult MojoSystemImplGetBufferInformation(
+ MojoSystemImpl system,
+ MojoHandle buffer_handle,
+ struct MojoBufferInformation* info,
+ uint32_t info_num_bytes) {
+ assert(g_system_impl_thunks.GetBufferInformation);
+ return g_system_impl_thunks.GetBufferInformation(system, buffer_handle, info,
+ info_num_bytes);
+}
+
MojoResult MojoSystemImplMapBuffer(MojoSystemImpl system,
MojoHandle buffer_handle,
uint64_t offset,

Powered by Google App Engine
This is Rietveld 408576698