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

Issue 8725016: Refactor IT2Me-specific functions into a HostObserver subclass. (Closed)

Created:
9 years ago by Lambros
Modified:
9 years ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, Paweł Hajdan Jr., sergeyu+watch_chromium.org
Visibility:
Public.

Description

Refactor IT2Me-specific functions into a HostObserver subclass. This also removes the curtain-mode hooks from DesktopEnvironment and ChromotingHost. Me2Me hosts will no longer show the Disconnect or Continue windows. It2Me hosts should be unaffected, except for the removal of curtain-mode (which will be added back in a later CL). BUG=104377 TEST=Manual and unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112392

Patch Set 1 : Remove unused header #

Total comments: 12

Patch Set 2 : Rename It2MeObserver class. #

Patch Set 3 : Remove Curtain code from DesktopEnvironment + ChromotingHost #

Patch Set 4 : Fix other nits. #

Total comments: 6

Patch Set 5 : Rebase #

Patch Set 6 : Fix indentation nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -473 lines) Patch
M remoting/host/chromoting_host.h View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 6 chunks +0 lines, -23 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 11 chunks +13 lines, -143 lines 0 comments Download
M remoting/host/desktop_environment.h View 1 2 3 chunks +1 line, -69 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 1 chunk +4 lines, -172 lines 0 comments Download
A + remoting/host/it2me_host_user_interface.h View 1 4 chunks +48 lines, -46 lines 0 comments Download
A remoting/host/it2me_host_user_interface.cc View 1 2 3 4 5 1 chunk +209 lines, -0 lines 0 comments Download
M remoting/host/plugin/host_script_object.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 3 4 4 chunks +11 lines, -14 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Lambros
9 years ago (2011-11-29 00:03:48 UTC) #1
Sergey Ulanov
Looks mostly good. The main problem is that I think that Curtain doesn't belong to ...
9 years ago (2011-11-29 20:17:59 UTC) #2
Lambros
On 2011/11/29 20:17:59, sergeyu wrote: > Looks mostly good. The main problem is that I ...
9 years ago (2011-11-29 23:46:25 UTC) #3
Sergey Ulanov
On Tue, Nov 29, 2011 at 3:46 PM, <lambroslambrou@chromium.org> wrote: > On 2011/11/29 20:17:59, sergeyu ...
9 years ago (2011-11-29 23:59:29 UTC) #4
Lambros
http://codereview.chromium.org/8725016/diff/1001/remoting/host/desktop_environment.h File remoting/host/desktop_environment.h (right): http://codereview.chromium.org/8725016/diff/1001/remoting/host/desktop_environment.h#newcode39 remoting/host/desktop_environment.h:39: Curtain* curtain() const { return curtain_.get(); } On 2011/11/29 ...
9 years ago (2011-11-30 20:47:02 UTC) #5
Sergey Ulanov
LGTM, I think we can now remove is_it2me flag from ChromotingHost. Also, please update CL ...
9 years ago (2011-11-30 21:24:37 UTC) #6
Lambros
Updated CL description. http://codereview.chromium.org/8725016/diff/12001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/8725016/diff/12001/remoting/host/chromoting_host.cc#newcode311 remoting/host/chromoting_host.cc:311: if (is_it2me_ && AuthenticatedClientsCount() > 0) ...
9 years ago (2011-11-30 22:09:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/8725016/24001
9 years ago (2011-12-01 01:07:56 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-01 04:25:27 UTC) #9
Change committed as 112392

Powered by Google App Engine
This is Rietveld 408576698