OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_ | |
6 #define REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_ | |
7 | |
8 #include <windows.h> | |
9 #include <string> | |
10 | |
11 #include "base/file_path.h" | |
12 #include "base/process_util.h" | |
13 | |
14 namespace remoting { | |
15 | |
16 // Launches |binary| in a different session. The target session is specified by | |
17 // |user_token|. | |
18 bool LaunchProcessInSession(const FilePath& binary, | |
19 const std::wstring& command_line, | |
20 HANDLE user_token, | |
21 base::Process* process_out); | |
22 | |
23 } // namespace remoting | |
24 | |
25 #endif // REMOTING_HOST_LAUNCH_PROCESS_IN_SESSION_WIN_H_ | |
OLD | NEW |