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

Unified Diff: mojo/edk/test/mojo_test_base.h

Issue 1689053003: Support read-only duplicates of Mojo shared buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-shm-interop
Patch Set: Rebase and fix comment. Created 4 years, 8 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
« no previous file with comments | « mojo/edk/system/shared_buffer_unittest.cc ('k') | mojo/edk/test/mojo_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/mojo_test_base.h
diff --git a/mojo/edk/test/mojo_test_base.h b/mojo/edk/test/mojo_test_base.h
index 1dcadf1898b018c18e89bbe9ceb9a6163fbb7764..0bae23878405a297204bd57b385ab7d2f2bb904e 100644
--- a/mojo/edk/test/mojo_test_base.h
+++ b/mojo/edk/test/mojo_test_base.h
@@ -115,7 +115,7 @@ class MojoTestBase : public testing::Test {
static MojoHandle CreateBuffer(uint64_t size);
// Duplicates a shared buffer to a new handle.
- static MojoHandle DuplicateBuffer(MojoHandle h);
+ static MojoHandle DuplicateBuffer(MojoHandle h, bool read_only);
// Maps a buffer, writes some data into it, and unmaps it.
static void WriteToBuffer(MojoHandle h,
« no previous file with comments | « mojo/edk/system/shared_buffer_unittest.cc ('k') | mojo/edk/test/mojo_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698