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

Unified Diff: mojo/edk/embedder/platform_handle.h

Issue 1893313003: [mojo] Use a pipe path to initialise Mojo in elevated utility processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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_channel_pair_win.cc ('k') | mojo/edk/system/channel_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/platform_handle.h
diff --git a/mojo/edk/embedder/platform_handle.h b/mojo/edk/embedder/platform_handle.h
index 4978d8cfe2005be787225de5ab5ae3e05caacde9..4f76009524a534b19d15bc3b4c881d2646f33a28 100644
--- a/mojo/edk/embedder/platform_handle.h
+++ b/mojo/edk/embedder/platform_handle.h
@@ -72,6 +72,10 @@ struct MOJO_SYSTEM_IMPL_EXPORT PlatformHandle {
// A Windows HANDLE may be duplicated to another process but not yet sent to
// that process. This tracks the handle's owning process.
base::ProcessHandle owning_process;
+
+ // A Windows HANDLE may be an unconnected named pipe. In this case, we need to
+ // wait for a connection before communicating on the pipe.
+ bool needs_connection = false;
};
#else
#error "Platform not yet supported."
« no previous file with comments | « mojo/edk/embedder/named_platform_channel_pair_win.cc ('k') | mojo/edk/system/channel_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698