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

Unified Diff: mojo/public/cpp/system/tests/core_unittest.cc

Issue 328753003: Mojo: Plumb MojoCreateMessagePipeOptions through to the C++ wrappers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 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/public/cpp/system/core.h ('k') | mojo/spy/spy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/system/tests/core_unittest.cc
diff --git a/mojo/public/cpp/system/tests/core_unittest.cc b/mojo/public/cpp/system/tests/core_unittest.cc
index 5121622257e65e11184705f286173e050a6a8d7b..acaee23b6307983289bbb4d4609331c93d19c3bc 100644
--- a/mojo/public/cpp/system/tests/core_unittest.cc
+++ b/mojo/public/cpp/system/tests/core_unittest.cc
@@ -153,7 +153,7 @@ TEST(CoreCppTest, Basic) {
EXPECT_FALSE(h0.get().is_valid());
EXPECT_FALSE(h1.get().is_valid());
- CreateMessagePipe(&h0, &h1);
+ CreateMessagePipe(NULL, &h0, &h1);
EXPECT_TRUE(h0.get().is_valid());
EXPECT_TRUE(h1.get().is_valid());
EXPECT_NE(h0.get().value(), h1.get().value());
@@ -193,7 +193,7 @@ TEST(CoreCppTest, Basic) {
{
ScopedMessagePipeHandle h0;
ScopedMessagePipeHandle h1;
- CreateMessagePipe(&h0, &h1);
+ CreateMessagePipe(NULL, &h0, &h1);
const char kHello[] = "hello";
const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello));
@@ -296,12 +296,12 @@ TEST(CoreCppTest, TearDownWithMessagesEnqueued) {
{
ScopedMessagePipeHandle h0;
ScopedMessagePipeHandle h1;
- CreateMessagePipe(&h0, &h1);
+ CreateMessagePipe(NULL, &h0, &h1);
// Send a handle over the previously-establish message pipe.
ScopedMessagePipeHandle h2;
ScopedMessagePipeHandle h3;
- CreateMessagePipe(&h2, &h3);
+ CreateMessagePipe(NULL, &h2, &h3);
// Write a message to |h2|, before we send |h3|.
const char kWorld[] = "world!";
@@ -343,12 +343,12 @@ TEST(CoreCppTest, TearDownWithMessagesEnqueued) {
{
ScopedMessagePipeHandle h0;
ScopedMessagePipeHandle h1;
- CreateMessagePipe(&h0, &h1);
+ CreateMessagePipe(NULL, &h0, &h1);
// Send a handle over the previously-establish message pipe.
ScopedMessagePipeHandle h2;
ScopedMessagePipeHandle h3;
- CreateMessagePipe(&h2, &h3);
+ CreateMessagePipe(NULL, &h2, &h3);
// Write a message to |h2|, before we send |h3|.
const char kWorld[] = "world!";
« no previous file with comments | « mojo/public/cpp/system/core.h ('k') | mojo/spy/spy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698