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

Issue 11275178: Enforce the RemoteAccessHostRequireCurtain policy on all platforms. (Closed)

Created:
8 years, 1 month ago by Wez
Modified:
8 years, 1 month ago
Reviewers:
rmsousa, Jamie
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org, rmsousa
Visibility:
Public.

Description

Enforce the RemoteAccessHostRequireCurtain policy on all platforms. The host now always creates the CurtainingHostObserver, and configures it based upon policy. The platform specific CurtainMode implementations then handle attempts to activate the curtain according to availability; Windows and Mac hosts will currently reject connections and Linux hosts will reject connections if running against the console X server. BUG=159711 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167304

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address review comments. #

Patch Set 3 : Add missing member to CurtainModeWin. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -36 lines) Patch
M remoting/host/curtain_mode.h View 2 chunks +1 line, -9 lines 0 comments Download
M remoting/host/curtain_mode_mac.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/host/curtain_mode_win.cc View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M remoting/host/curtaining_host_observer.h View 1 2 chunks +8 lines, -1 line 0 comments Download
M remoting/host/curtaining_host_observer.cc View 1 chunk +9 lines, -7 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 9 chunks +32 lines, -13 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Wez
PTAL ASAP!
8 years, 1 month ago (2012-11-06 23:50:59 UTC) #1
rmsousa
http://codereview.chromium.org/11275178/diff/1/remoting/host/curtain_mode_mac.cc File remoting/host/curtain_mode_mac.cc (right): http://codereview.chromium.org/11275178/diff/1/remoting/host/curtain_mode_mac.cc#newcode75 remoting/host/curtain_mode_mac.cc:75: if (getuid() == 0) { IIRC (Jamie might have ...
8 years, 1 month ago (2012-11-07 00:19:16 UTC) #2
Jamie
http://codereview.chromium.org/11275178/diff/1/remoting/host/curtain_mode_mac.cc File remoting/host/curtain_mode_mac.cc (right): http://codereview.chromium.org/11275178/diff/1/remoting/host/curtain_mode_mac.cc#newcode75 remoting/host/curtain_mode_mac.cc:75: if (getuid() == 0) { On 2012/11/07 00:19:16, rmsousa ...
8 years, 1 month ago (2012-11-07 00:27:49 UTC) #3
rmsousa
http://codereview.chromium.org/11275178/diff/1/remoting/host/curtaining_host_observer.h File remoting/host/curtaining_host_observer.h (right): http://codereview.chromium.org/11275178/diff/1/remoting/host/curtaining_host_observer.h#newcode30 remoting/host/curtaining_host_observer.h:30: void SetEnableCurtaining(bool enable); On 2012/11/07 00:27:49, Jamie wrote: > ...
8 years, 1 month ago (2012-11-07 00:33:25 UTC) #4
Jamie
lgtm once my comments are addressed.
8 years, 1 month ago (2012-11-07 00:41:11 UTC) #5
Wez
PTAL http://codereview.chromium.org/11275178/diff/1/remoting/host/curtain_mode_mac.cc File remoting/host/curtain_mode_mac.cc (right): http://codereview.chromium.org/11275178/diff/1/remoting/host/curtain_mode_mac.cc#newcode75 remoting/host/curtain_mode_mac.cc:75: if (getuid() == 0) { On 2012/11/07 00:27:49, ...
8 years, 1 month ago (2012-11-07 02:37:32 UTC) #6
rmsousa
lgtm
8 years, 1 month ago (2012-11-07 02:44:10 UTC) #7
Jamie
lgtm http://codereview.chromium.org/11275178/diff/1/remoting/host/curtaining_host_observer.cc File remoting/host/curtaining_host_observer.cc (left): http://codereview.chromium.org/11275178/diff/1/remoting/host/curtaining_host_observer.cc#oldcode26 remoting/host/curtaining_host_observer.cc:26: // to the HostStatusObserver interface to address this. ...
8 years, 1 month ago (2012-11-07 22:28:01 UTC) #8
Wez
http://codereview.chromium.org/11275178/diff/1/remoting/host/curtaining_host_observer.cc File remoting/host/curtaining_host_observer.cc (left): http://codereview.chromium.org/11275178/diff/1/remoting/host/curtaining_host_observer.cc#oldcode26 remoting/host/curtaining_host_observer.cc:26: // to the HostStatusObserver interface to address this. On ...
8 years, 1 month ago (2012-11-07 22:33:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/11275178/6002
8 years, 1 month ago (2012-11-07 22:33:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/11275178/15002
8 years, 1 month ago (2012-11-12 21:53:55 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-13 04:42:48 UTC) #12
Change committed as 167304

Powered by Google App Engine
This is Rietveld 408576698