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 8234aae0163e5c9648040edd0d0a57ec53f67e4f..17db9ed083e22ec97bca1c91616eb6c41d4bae2b 100644 |
--- a/remoting/host/win/launch_process_with_token.h |
+++ b/remoting/host/win/launch_process_with_token.h |
@@ -13,6 +13,10 @@ |
namespace remoting { |
+// Creates a copy of the current process token for the given |session_id| so |
+// it can be used to launch a process in that session. |
+bool CreateSessionToken(uint32 session_id, HANDLE* token_out); |
+ |
// Launches |binary| in the security context of the user represented by |
// |user_token|. The session ID specified by the token is respected as well. |
bool LaunchProcessWithToken(const FilePath& binary, |