| Index: remoting/host/win/launch_process_with_token.h
|
| ===================================================================
|
| --- remoting/host/win/launch_process_with_token.h (revision 0)
|
| +++ remoting/host/win/launch_process_with_token.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_
|
| -#define REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_
|
| +#ifndef REMOTING_HOST_WIN_LAUNCH_PROCESS_WITH_TOKEN_H_
|
| +#define REMOTING_HOST_WIN_LAUNCH_PROCESS_WITH_TOKEN_H_
|
|
|
| #include <windows.h>
|
| #include <string>
|
| @@ -13,13 +13,13 @@
|
|
|
| namespace remoting {
|
|
|
| -// Launches |binary| in a different session. The target session is specified by
|
| -// |user_token|.
|
| -bool LaunchProcessInSession(const FilePath& binary,
|
| +// 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,
|
| const std::wstring& command_line,
|
| HANDLE user_token,
|
| base::Process* process_out);
|
|
|
| } // namespace remoting
|
|
|
| -#endif // REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_
|
| +#endif // REMOTING_HOST_WIN_LAUNCH_PROCESS_WITH_TOKEN_H_
|
|
|