OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ | 5 #ifndef REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ |
6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ | 6 #define REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 // The main service message loop. | 87 // The main service message loop. |
88 scoped_refptr<base::SingleThreadTaskRunner> main_message_loop_; | 88 scoped_refptr<base::SingleThreadTaskRunner> main_message_loop_; |
89 | 89 |
90 // Message loop used by the IPC channel. | 90 // Message loop used by the IPC channel. |
91 scoped_refptr<base::SingleThreadTaskRunner> ipc_message_loop_; | 91 scoped_refptr<base::SingleThreadTaskRunner> ipc_message_loop_; |
92 | 92 |
93 // This pointer is used to unsubscribe from session attach and detach events. | 93 // This pointer is used to unsubscribe from session attach and detach events. |
94 WtsConsoleMonitor* monitor_; | 94 WtsConsoleMonitor* monitor_; |
95 | 95 |
96 // Impersonation token that has the SE_TCB_NAME privilege enabled. | |
97 base::win::ScopedHandle privileged_token_; | |
98 | |
99 // The handle of the process injected into the console session. | 96 // The handle of the process injected into the console session. |
100 base::Process process_; | 97 base::Process process_; |
101 | 98 |
102 // Used to determine when the launched process terminates. | 99 // Used to determine when the launched process terminates. |
103 base::win::ObjectWatcher process_watcher_; | 100 base::win::ObjectWatcher process_watcher_; |
104 | 101 |
105 // The token to be used to launch a process in a different session. | 102 // The token to be used to launch a process in a different session. |
106 base::win::ScopedHandle session_token_; | 103 base::win::ScopedHandle session_token_; |
107 | 104 |
108 // Defines the states the process launcher can be in. | 105 // Defines the states the process launcher can be in. |
(...skipping 11 matching lines...) Expand all Loading... |
120 scoped_ptr<IPC::ChannelProxy> chromoting_channel_; | 117 scoped_ptr<IPC::ChannelProxy> chromoting_channel_; |
121 | 118 |
122 scoped_ptr<SasInjector> sas_injector_; | 119 scoped_ptr<SasInjector> sas_injector_; |
123 | 120 |
124 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher); | 121 DISALLOW_COPY_AND_ASSIGN(WtsSessionProcessLauncher); |
125 }; | 122 }; |
126 | 123 |
127 } // namespace remoting | 124 } // namespace remoting |
128 | 125 |
129 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ | 126 #endif // REMOTING_HOST_WIN_WTS_SESSION_PROCESS_LAUNCHER_H_ |
OLD | NEW |