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

Unified Diff: mojo/edk/system/shared_buffer_dispatcher.h

Issue 1776033002: Implement MojoGetBufferInformation(), part 1. (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/edk/system/shared_buffer_dispatcher.h
diff --git a/mojo/edk/system/shared_buffer_dispatcher.h b/mojo/edk/system/shared_buffer_dispatcher.h
index 18a5abb81a105f9023d8f588cc85157c4515393d..3ba0fffeb78ee98d5a8f50de9b63a3ac1592edbf 100644
--- a/mojo/edk/system/shared_buffer_dispatcher.h
+++ b/mojo/edk/system/shared_buffer_dispatcher.h
@@ -91,6 +91,9 @@ class SharedBufferDispatcher final : public SimpleDispatcher {
MojoResult DuplicateBufferHandleImplNoLock(
UserPointer<const MojoDuplicateBufferHandleOptions> options,
util::RefPtr<Dispatcher>* new_dispatcher) override;
+ MojoResult GetBufferInformationImplNoLock(
+ UserPointer<MojoBufferInformation> info,
+ uint32_t info_num_bytes) override;
MojoResult MapBufferImplNoLock(
uint64_t offset,
uint64_t num_bytes,

Powered by Google App Engine
This is Rietveld 408576698