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

Unified Diff: mojo/edk/embedder/named_platform_handle_utils_posix.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
Index: mojo/edk/embedder/named_platform_handle_utils_posix.cc
diff --git a/mojo/edk/embedder/named_platform_handle_utils_posix.cc b/mojo/edk/embedder/named_platform_handle_utils_posix.cc
index 97572c0590377b89a1128d55c904923ec0be1865..4d9e8eece0223632050c33c5b5bcaf4dcd2816cc 100644
--- a/mojo/edk/embedder/named_platform_handle_utils_posix.cc
+++ b/mojo/edk/embedder/named_platform_handle_utils_posix.cc
@@ -99,9 +99,9 @@ ScopedPlatformHandle CreateClientHandle(
return handle;
}
-ScopedPlatformHandle CreateServerHandle(const NamedPlatformHandle& named_handle,
- bool enforce_uniqueness) {
- CHECK(!enforce_uniqueness);
+ScopedPlatformHandle CreateServerHandle(
+ const NamedPlatformHandle& named_handle,
+ const CreateServerHandleOptions& options) {
if (!named_handle.is_valid())
return ScopedPlatformHandle();
« no previous file with comments | « mojo/edk/embedder/named_platform_handle_utils.h ('k') | mojo/edk/embedder/named_platform_handle_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698