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

Unified Diff: remoting/host/win/launch_process_with_token.h

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Created 3 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
Index: remoting/host/win/launch_process_with_token.h
diff --git a/remoting/host/win/launch_process_with_token.h b/remoting/host/win/launch_process_with_token.h
index cca7ec96fc625e6eacbe6d090a7486493d8ef0c1..29d58baead20f0495f5c2686f9588c0600f09c98 100644
--- a/remoting/host/win/launch_process_with_token.h
+++ b/remoting/host/win/launch_process_with_token.h
@@ -30,17 +30,16 @@ bool CreateSessionToken(uint32_t session_id,
// If |handles_to_inherit| is non-empty, these handles will be inherited by the
// new process. The other parameters are passed directly to
// CreateProcessAsUser().
-bool LaunchProcessWithToken(
- const base::FilePath& binary,
- const base::CommandLine::StringType& command_line,
- HANDLE user_token,
- SECURITY_ATTRIBUTES* process_attributes,
- SECURITY_ATTRIBUTES* thread_attributes,
- const base::HandlesToInheritVector& handles_to_inherit,
- DWORD creation_flags,
- const base::char16* desktop_name,
- base::win::ScopedHandle* process_out,
- base::win::ScopedHandle* thread_out);
+bool LaunchProcessWithToken(const base::FilePath& binary,
+ const base::CommandLine::StringType& command_line,
+ HANDLE user_token,
+ SECURITY_ATTRIBUTES* process_attributes,
+ SECURITY_ATTRIBUTES* thread_attributes,
+ const std::vector<HANDLE>& handles_to_inherit,
+ DWORD creation_flags,
+ const base::char16* desktop_name,
+ base::win::ScopedHandle* process_out,
+ base::win::ScopedHandle* thread_out);
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698