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

Unified Diff: mojo/edk/system/remote_data_pipe_impl_unittest.cc

Issue 2056763003: EDK: Change Awakable::Awake()'s context, etc., to be a uint64_t. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 4 years, 6 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/message_pipe_unittest.cc ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/remote_data_pipe_impl_unittest.cc
diff --git a/mojo/edk/system/remote_data_pipe_impl_unittest.cc b/mojo/edk/system/remote_data_pipe_impl_unittest.cc
index 86c54ce171e24d5a438275dbe8c443d99910ee25..99d150646be972ad5a47f335c0d4e63dd532598d 100644
--- a/mojo/edk/system/remote_data_pipe_impl_unittest.cc
+++ b/mojo/edk/system/remote_data_pipe_impl_unittest.cc
@@ -135,7 +135,7 @@ TEST_F(RemoteDataPipeImplTest, Sanity) {
uint32_t read_buffer_size = static_cast<uint32_t>(sizeof(read_buffer));
Waiter waiter;
HandleSignalsState hss;
- uint32_t context = 0;
+ uint64_t context = 0;
// Write on MP 0 (port 0). Wait and receive on MP 1 (port 0). (Add the waiter
// first, to avoid any handling the case where it's already readable.)
@@ -171,7 +171,7 @@ TEST_F(RemoteDataPipeImplTest, SendConsumerWithClosedProducer) {
uint32_t read_num_handles = 10; // Maximum to get.
Waiter waiter;
HandleSignalsState hss;
- uint32_t context = 0;
+ uint64_t context = 0;
RefPtr<DataPipe> dp(CreateLocal(sizeof(int32_t), 1000));
// This is the consumer dispatcher we'll send.
@@ -296,7 +296,7 @@ TEST_F(RemoteDataPipeImplTest, SendConsumerDuringTwoPhaseWrite) {
uint32_t read_num_handles = 10; // Maximum to get.
Waiter waiter;
HandleSignalsState hss;
- uint32_t context = 0;
+ uint64_t context = 0;
RefPtr<DataPipe> dp(CreateLocal(sizeof(int32_t), 1000));
// This is the consumer dispatcher we'll send.
@@ -413,7 +413,7 @@ TEST_F(RemoteDataPipeImplTest, SendConsumerDuringSecondTwoPhaseWrite) {
uint32_t read_num_handles = 10; // Maximum to get.
Waiter waiter;
HandleSignalsState hss;
- uint32_t context = 0;
+ uint64_t context = 0;
RefPtr<DataPipe> dp(CreateLocal(sizeof(int32_t), 1000));
// This is the consumer dispatcher we'll send.
« no previous file with comments | « mojo/edk/system/message_pipe_unittest.cc ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698