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

Unified Diff: mojo/edk/test/multiprocess_test_helper.cc

Issue 2444793002: Allow custom security descriptors when creating named pipes on Windows. (Closed)
Patch Set: Created 4 years, 2 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/embedder/named_platform_handle_utils_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/multiprocess_test_helper.cc
diff --git a/mojo/edk/test/multiprocess_test_helper.cc b/mojo/edk/test/multiprocess_test_helper.cc
index d6390cc79b401525c814e14e8d5e93330bf01158..611c465bd387c0865e27714cdce1ed23ef4a8782 100644
--- a/mojo/edk/test/multiprocess_test_helper.cc
+++ b/mojo/edk/test/multiprocess_test_helper.cc
@@ -148,7 +148,7 @@ ScopedMessagePipeHandle MultiprocessTestHelper::StartChildWithExtraSwitch(
} else if (launch_type == LaunchType::PEER) {
pipe = ConnectToPeerProcess(channel.PassServerHandle());
} else if (launch_type == LaunchType::NAMED_PEER) {
- pipe = ConnectToPeerProcess(CreateServerHandle(named_pipe, false));
+ pipe = ConnectToPeerProcess(CreateServerHandle(named_pipe));
}
test_child_ =
@@ -160,9 +160,8 @@ ScopedMessagePipeHandle MultiprocessTestHelper::StartChildWithExtraSwitch(
ChildProcessLaunched(test_child_.Handle(), channel.PassServerHandle(),
child_token, process_error_callback_);
} else if (launch_type == LaunchType::NAMED_CHILD) {
- ChildProcessLaunched(test_child_.Handle(),
- CreateServerHandle(named_pipe, false), child_token,
- process_error_callback_);
+ ChildProcessLaunched(test_child_.Handle(), CreateServerHandle(named_pipe),
+ child_token, process_error_callback_);
}
CHECK(test_child_.IsValid());
« no previous file with comments | « mojo/edk/embedder/named_platform_handle_utils_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698