Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 10831271: [Chromoting] Adding uiAccess='true' to the remoting_me2me_host.exe's manifest as it is required to … (Closed)

Created:
8 years, 4 months ago by alexeypa (please no reviews)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, sadrul, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, simonmorris+watch_chromium.org, brettw-cc_chromium.org, alexeypa+watch_chromium.org, erikwright+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] Launch the host process elevated via ShellExecuteEx(). The host process is launched in in two steps now. An instance of remote_service.exe is launched in a user session (CreateProcessAsUser) and then it launches the host requesting elevation (ShellExecuteEx). This is needed because Windows 8 refuses to inject Alt+Tab unless uiAccess='true' is specified in the manifest, which in its turn requires ShellExecuteEx() to be used. Lifetime of launched processes is controlled by assigning them to a job object. Message loop changes are required to be able to process job object notifications on the I/O message loop. BUG=135217 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151973

Patch Set 1 #

Total comments: 8

Patch Set 2 : CR feedback. #

Total comments: 18

Patch Set 3 : More CR feedback. #

Total comments: 46

Patch Set 4 : CR feedback. #

Total comments: 26

Patch Set 5 : - #

Total comments: 2

Patch Set 6 : - #

Patch Set 7 : rebased + a couple of merge fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+464 lines, -134 lines) Patch
M base/message_loop.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M base/message_loop.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M base/message_pump_win.h View 1 2 3 chunks +19 lines, -0 lines 0 comments Download
M base/message_pump_win.cc View 1 2 3 4 5 4 chunks +47 lines, -4 lines 0 comments Download
M remoting/base/stoppable.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_user_interface.cc View 1 2 3 4 5 6 3 chunks +0 lines, -3 lines 0 comments Download
M remoting/host/win/host_service.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/host/win/host_service.cc View 1 2 3 4 6 chunks +70 lines, -31 lines 0 comments Download
M remoting/host/win/launch_process_with_token.h View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/win/launch_process_with_token.cc View 6 chunks +9 lines, -3 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.h View 1 2 3 4 5 6 5 chunks +40 lines, -1 line 0 comments Download
M remoting/host/win/wts_session_process_launcher.cc View 1 2 3 4 5 6 6 chunks +263 lines, -89 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
alexeypa (please no reviews)
PTAL. jar@ -> base/* wez@ -> remoting/*
8 years, 4 months ago (2012-08-10 19:10:48 UTC) #1
jar (doing other things)
I'm going to ask Ricardo to review the IO completion port stuff in bas, and ...
8 years, 4 months ago (2012-08-11 02:30:00 UTC) #2
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10831271/diff/1/base/message_loop.h File base/message_loop.h (right): https://chromiumcodereview.appspot.com/10831271/diff/1/base/message_loop.h#newcode635 base/message_loop.h:635: bool RegisterJobObject(HANDLE job, IOHandler* handler); On 2012/08/11 02:30:01, jar ...
8 years, 4 months ago (2012-08-13 15:15:14 UTC) #3
rvargas (doing something else)
http://codereview.chromium.org/10831271/diff/5001/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/10831271/diff/5001/base/message_loop.h#newcode640 base/message_loop.h:640: // until the job object is destoyed. Returns true ...
8 years, 4 months ago (2012-08-13 18:54:11 UTC) #4
alexeypa (please no reviews)
http://codereview.chromium.org/10831271/diff/5001/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/10831271/diff/5001/base/message_loop.h#newcode640 base/message_loop.h:640: // until the job object is destoyed. Returns true ...
8 years, 4 months ago (2012-08-13 20:02:23 UTC) #5
rvargas (doing something else)
base LGTM http://codereview.chromium.org/10831271/diff/5001/base/message_pump_win.cc File base/message_pump_win.cc (right): http://codereview.chromium.org/10831271/diff/5001/base/message_pump_win.cc#newcode564 base/message_pump_win.cc:564: if (!item.has_valid_io_context || item.context->handler) { On 2012/08/13 ...
8 years, 4 months ago (2012-08-13 21:20:10 UTC) #6
Wez
On 2012/08/10 19:10:48, alexeypa wrote: > PTAL. > > jar@ -> base/* > wez@ -> ...
8 years, 4 months ago (2012-08-14 00:28:04 UTC) #7
Wez
http://codereview.chromium.org/10831271/diff/1014/base/message_pump_win.cc File base/message_pump_win.cc (right): http://codereview.chromium.org/10831271/diff/1014/base/message_pump_win.cc#newcode652 base/message_pump_win.cc:652: DCHECK((key & 1) == 0); nit: This check is ...
8 years, 4 months ago (2012-08-14 01:08:59 UTC) #8
alexeypa (please no reviews)
http://codereview.chromium.org/10831271/diff/1014/base/message_pump_win.cc File base/message_pump_win.cc (right): http://codereview.chromium.org/10831271/diff/1014/base/message_pump_win.cc#newcode652 base/message_pump_win.cc:652: DCHECK((key & 1) == 0); On 2012/08/14 01:08:59, Wez ...
8 years, 4 months ago (2012-08-14 05:43:22 UTC) #9
alexeypa (please no reviews)
Wez, ping.
8 years, 4 months ago (2012-08-14 23:09:28 UTC) #10
Wez
http://codereview.chromium.org/10831271/diff/5002/base/message_pump_win.cc File base/message_pump_win.cc (right): http://codereview.chromium.org/10831271/diff/5002/base/message_pump_win.cc#newcode567 base/message_pump_win.cc:567: // a valid non-pointer value. Suggest rewording: "If |item.has_valid_io_context| ...
8 years, 4 months ago (2012-08-15 23:22:20 UTC) #11
jar (doing other things)
http://codereview.chromium.org/10831271/diff/1/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/10831271/diff/1/base/message_loop.h#newcode635 base/message_loop.h:635: bool RegisterJobObject(HANDLE job, IOHandler* handler); I didn't see the ...
8 years, 4 months ago (2012-08-15 23:42:03 UTC) #12
alexeypa (please no reviews)
wez@, PTAL. jar@, I've answered your question below. http://codereview.chromium.org/10831271/diff/1/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/10831271/diff/1/base/message_loop.h#newcode635 base/message_loop.h:635: bool ...
8 years, 4 months ago (2012-08-15 23:55:50 UTC) #13
jar (doing other things)
base LGTM (rubber stamp of Ricardo's review).
8 years, 4 months ago (2012-08-16 00:05:26 UTC) #14
Wez
LGTM once my nit-picky comment nits are picked. :) http://codereview.chromium.org/10831271/diff/5002/remoting/host/win/wts_session_process_launcher.cc File remoting/host/win/wts_session_process_launcher.cc (right): http://codereview.chromium.org/10831271/diff/5002/remoting/host/win/wts_session_process_launcher.cc#newcode89 remoting/host/win/wts_session_process_launcher.cc:89: ...
8 years, 4 months ago (2012-08-16 00:06:33 UTC) #15
alexeypa (please no reviews)
http://codereview.chromium.org/10831271/diff/5002/remoting/host/win/wts_session_process_launcher.cc File remoting/host/win/wts_session_process_launcher.cc (right): http://codereview.chromium.org/10831271/diff/5002/remoting/host/win/wts_session_process_launcher.cc#newcode89 remoting/host/win/wts_session_process_launcher.cc:89: // MessageLoopForIO::current(). On 2012/08/16 00:06:33, Wez wrote: > On ...
8 years, 4 months ago (2012-08-16 00:34:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10831271/13005
8 years, 4 months ago (2012-08-16 16:23:35 UTC) #17
commit-bot: I haz the power
Try job failure for 10831271-13005 (retry) on win_rel for step "content_browsertests". It's a second try, ...
8 years, 4 months ago (2012-08-16 18:39:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10831271/13005
8 years, 4 months ago (2012-08-16 18:43:08 UTC) #19
commit-bot: I haz the power
8 years, 4 months ago (2012-08-16 21:28:13 UTC) #20
Change committed as 151973

Powered by Google App Engine
This is Rietveld 408576698