Chromium Code Reviews
Description[Chromoting] Don't use a job object to control the me2me host process on Windows XP.
The host binary specifies uiAccess='true' in its manifest that requires ShellExecute() to be used to launch it. Since ShellExecute() does not work across the session boundary we use a helper process to launch the me2me host. A job object is used to control both the helper process and the host process, so that they can be terminated if needed.
Unfortunately, the helper process spawned by CreateRemoteSessionProcess() function cannot be assigned to a job object on Windows XP/2K3. This CL works it around by using two different kaunchers for XP and Vista+:
- XP launches the host process directly using CreateRemoteSessionProcess(). uiAccess='true' is ignored on XP and ShellExecute() call is not necessary;
- Vista+ used the helper process to launch the host and assigns boths processes to a job object.
BUG=148781
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157490
Patch Set 1 #Patch Set 2 : The session_token and worker_process handles can be overwritten. #Patch Set 3 : CR feedback. #
Total comments: 36
Patch Set 4 : CR feedback. #Patch Set 5 : made compilable on VS2008. #
Messages
Total messages: 7 (0 generated)
|
||||||||||||||||||||||||||||