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..54479d5a56391460453cb655deacdac15a10f417 100644 |
--- a/remoting/host/win/launch_process_with_token.h |
+++ b/remoting/host/win/launch_process_with_token.h |
@@ -10,9 +10,14 @@ |
#include "base/file_path.h" |
#include "base/process_util.h" |
+#include "base/win/scoped_handle.h" |
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, base::win::ScopedHandle* 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, |