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

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

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.h
diff --git a/mojo/public/platform/native/system_impl_private_thunks.h b/mojo/public/platform/native/system_impl_private_thunks.h
index c45167d3e0c1e2cbbd3c9e45f62e7893566f62dc..bb050faece592038f13f162e98c1229ec76aa452 100644
--- a/mojo/public/platform/native/system_impl_private_thunks.h
+++ b/mojo/public/platform/native/system_impl_private_thunks.h
@@ -100,6 +100,10 @@ struct MojoSystemImplThunksPrivate {
MojoHandle buffer_handle,
const struct MojoDuplicateBufferHandleOptions* options,
MojoHandle* new_buffer_handle);
+ MojoResult (*GetBufferInformation)(MojoSystemImpl system,
+ MojoHandle buffer_handle,
+ struct MojoBufferInformation* info,
+ uint32_t info_num_bytes);
MojoResult (*MapBuffer)(MojoSystemImpl system,
MojoHandle buffer_handle,
uint64_t offset,
@@ -140,6 +144,7 @@ inline MojoSystemImplThunksPrivate MojoMakeSystemImplThunksPrivate() {
MojoSystemImplEndReadData,
MojoSystemImplCreateSharedBuffer,
MojoSystemImplDuplicateBufferHandle,
+ MojoSystemImplGetBufferInformation,
MojoSystemImplMapBuffer,
MojoSystemImplUnmapBuffer};
return system_thunks;

Powered by Google App Engine
This is Rietveld 408576698