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

Issue 6780014: Clean up remoting project (Closed)

Created:
9 years, 8 months ago by dmac
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, Paweł Hajdan Jr., dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Clean up remoting project Cleaned up some file names so it simplifies our project, and gets us more inline with chromium standards. Removed several unnecessary headers that were cluttering the remoting namespace. Simplified some of the double pimpl implementations that we had on Linux to hide X11 stuff. Got HostAuthentication working reasonably well as a mock. BUG=NONE TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80385

Patch Set 1 #

Patch Set 2 : post merge #

Patch Set 3 : Expanded scope, removing more unnecessary files #

Patch Set 4 : Fix a compile glitch on Windows #

Total comments: 27

Patch Set 5 : Fixed up issues brought up in review #

Patch Set 6 : fixed up whitespace #

Patch Set 7 : more white space fixes #

Patch Set 8 : got rid of ref counting on user authenticator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+723 lines, -1286 lines) Patch
D remoting/host/capturer_gdi.h View 1 2 1 chunk +0 lines, -112 lines 0 comments Download
D remoting/host/capturer_gdi.cc View 1 2 1 chunk +0 lines, -237 lines 0 comments Download
D remoting/host/capturer_gdi_unittest.cc View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
D remoting/host/capturer_linux.h View 1 2 1 chunk +0 lines, -41 lines 0 comments Download
M remoting/host/capturer_linux.cc View 1 2 3 4 12 chunks +38 lines, -72 lines 0 comments Download
M remoting/host/capturer_linux_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
D remoting/host/capturer_mac.h View 1 2 1 chunk +0 lines, -78 lines 0 comments Download
M remoting/host/capturer_mac.cc View 1 2 3 4 2 chunks +71 lines, -3 lines 0 comments Download
M remoting/host/capturer_mac_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
A + remoting/host/capturer_win.cc View 1 2 3 4 2 chunks +102 lines, -2 lines 0 comments Download
A + remoting/host/capturer_win_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -8 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 5 6 7 11 chunks +37 lines, -49 lines 0 comments Download
M remoting/host/client_session.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -6 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 3 4 5 6 7 5 chunks +16 lines, -23 lines 0 comments Download
D remoting/host/curtain_linux.h View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M remoting/host/curtain_linux.cc View 1 2 3 4 1 chunk +16 lines, -1 line 0 comments Download
D remoting/host/curtain_mac.h View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M remoting/host/curtain_mac.cc View 1 2 3 4 1 chunk +17 lines, -1 line 0 comments Download
D remoting/host/curtain_win.h View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M remoting/host/curtain_win.cc View 1 2 3 4 1 chunk +17 lines, -1 line 0 comments Download
M remoting/host/desktop_environment.h View 1 2 1 chunk +5 lines, -8 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M remoting/host/event_executor.h View 1 2 3 4 1 chunk +9 lines, -8 lines 0 comments Download
D remoting/host/event_executor_linux.h View 1 2 1 chunk +0 lines, -42 lines 0 comments Download
M remoting/host/event_executor_linux.cc View 1 2 3 4 7 chunks +72 lines, -79 lines 0 comments Download
D remoting/host/event_executor_mac.h View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 2 3 4 3 chunks +30 lines, -9 lines 0 comments Download
D remoting/host/event_executor_win.h View 1 2 1 chunk +0 lines, -43 lines 0 comments Download
M remoting/host/event_executor_win.cc View 1 2 3 4 4 chunks +36 lines, -13 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 2 chunks +28 lines, -0 lines 0 comments Download
M remoting/host/host_mock_objects.cc View 1 2 3 4 5 6 2 chunks +10 lines, -2 lines 0 comments Download
M remoting/host/screen_recorder_unittest.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/user_authenticator.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
D remoting/host/user_authenticator_fake.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
D remoting/host/user_authenticator_fake.cc View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
M remoting/host/user_authenticator_linux.cc View 1 2 1 chunk +123 lines, -1 line 0 comments Download
D remoting/host/user_authenticator_mac.h View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
M remoting/host/user_authenticator_mac.cc View 1 2 3 chunks +17 lines, -6 lines 0 comments Download
D remoting/host/user_authenticator_pam.h View 1 2 1 chunk +0 lines, -46 lines 0 comments Download
D remoting/host/user_authenticator_pam.cc View 1 chunk +0 lines, -106 lines 0 comments Download
M remoting/host/user_authenticator_win.cc View 1 2 1 chunk +29 lines, -2 lines 0 comments Download
M remoting/remoting.gyp View 1 2 9 chunks +22 lines, -63 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
dmac
9 years, 8 months ago (2011-03-31 01:20:21 UTC) #1
Wez
Shouldn't there be corresponding D entries for capturer_gdi.*? Is the "pam"->"linux" rename really appropriate? That ...
9 years, 8 months ago (2011-03-31 12:06:05 UTC) #2
Lambros (do not use)
I agree that UserAuthenticatorPam, not UserAuthenticatorLinux is the proper name for that class. I think ...
9 years, 8 months ago (2011-03-31 14:11:32 UTC) #3
dmaclach1
On Thu, Mar 31, 2011 at 7:11 AM, Lambros Lambrou <lambroslambrou@google.com> wrote: > I agree ...
9 years, 8 months ago (2011-03-31 14:36:54 UTC) #4
Wez
On 2011/03/31 14:36:54, dmaclach1 wrote: > _win for classes that compile on windows, _mac for ...
9 years, 8 months ago (2011-03-31 14:39:32 UTC) #5
dmaclach1
On Thu, Mar 31, 2011 at 7:39 AM, <wez@chromium.org> wrote: > On 2011/03/31 14:36:54, dmaclach1 ...
9 years, 8 months ago (2011-03-31 15:13:09 UTC) #6
Lambros (do not use)
On Thu, Mar 31, 2011 at 4:13 PM, David Maclachlan <dmaclach@google.com>wrote: > On Thu, Mar ...
9 years, 8 months ago (2011-03-31 15:30:59 UTC) #7
dmac
On 2011/03/31 15:30:59, lambroslambrou wrote: > On Thu, Mar 31, 2011 at 4:13 PM, David ...
9 years, 8 months ago (2011-04-01 03:44:37 UTC) #8
dmac
Added Simon and Jamie as I expanded into source files which they authored.
9 years, 8 months ago (2011-04-01 03:46:36 UTC) #9
simonmorris
http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc File remoting/host/chromoting_host_unittest.cc (right): http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc#newcode168 remoting/host/chromoting_host_unittest.cc:168: Nit: extra line. http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc#newcode207 remoting/host/chromoting_host_unittest.cc:207: scoped_refptr<MockUserAuthenticator> user_authenticator_; It's sad ...
9 years, 8 months ago (2011-04-01 10:29:33 UTC) #10
Jamie
One thing I'm not keen on with this refactoring is the fact that we've lost ...
9 years, 8 months ago (2011-04-01 10:51:10 UTC) #11
simonmorris
http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc File remoting/host/chromoting_host_unittest.cc (right): http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc#newcode207 remoting/host/chromoting_host_unittest.cc:207: scoped_refptr<MockUserAuthenticator> user_authenticator_; On 2011/04/01 10:29:34, simonmorris wrote: > It's ...
9 years, 8 months ago (2011-04-01 10:52:43 UTC) #12
dmac
On 2011/04/01 10:51:10, Jamie wrote: > One thing I'm not keen on with this refactoring ...
9 years, 8 months ago (2011-04-01 15:30:42 UTC) #13
dmac
On 2011/04/01 10:52:43, simonmorris wrote: > http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc > File remoting/host/chromoting_host_unittest.cc (right): > > http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc#newcode207 > ...
9 years, 8 months ago (2011-04-01 15:34:32 UTC) #14
Lambros
I have nothing major to add to others' comments. If we do decide to keep ...
9 years, 8 months ago (2011-04-01 15:54:00 UTC) #15
Jamie
> Interesting, because I dislike the per platform headers. In my opinion, headers > are ...
9 years, 8 months ago (2011-04-01 15:57:04 UTC) #16
simonmorris
On 2011/04/01 15:34:32, dmac wrote: > On 2011/04/01 10:52:43, simonmorris wrote: > > > http://codereview.chromium.org/6780014/diff/10001/remoting/host/chromoting_host_unittest.cc ...
9 years, 8 months ago (2011-04-01 16:17:03 UTC) #17
dmac
I think I addressed all the style concerns. http://codereview.chromium.org/6780014/diff/10001/remoting/host/capturer_linux.cc File remoting/host/capturer_linux.cc (right): http://codereview.chromium.org/6780014/diff/10001/remoting/host/capturer_linux.cc#newcode89 remoting/host/capturer_linux.cc:89: uint8* ...
9 years, 8 months ago (2011-04-01 21:15:07 UTC) #18
simonmorris
On 2011/04/01 16:17:03, simonmorris wrote: > On 2011/04/01 15:34:32, dmac wrote: > > On 2011/04/01 ...
9 years, 8 months ago (2011-04-04 10:44:25 UTC) #19
Jamie
On 2011/04/01 21:15:07, dmac wrote: > I think I addressed all the style concerns. > ...
9 years, 8 months ago (2011-04-04 10:48:30 UTC) #20
Lambros
LGTM
9 years, 8 months ago (2011-04-04 15:21:30 UTC) #21
dmaclach1
Lambros, for the user authenticator, why are we passing in a creator function as opposed ...
9 years, 8 months ago (2011-04-04 17:36:38 UTC) #22
Lambros (do not use)
I'm not aware that I was "passing in a creator function". Please could you point ...
9 years, 8 months ago (2011-04-04 18:05:34 UTC) #23
dmac
Sorry.. creator function was "loose" terminology to say the least. I meant the bound function ...
9 years, 8 months ago (2011-04-04 21:56:36 UTC) #24
Lambros
9 years, 8 months ago (2011-04-04 22:40:50 UTC) #25
LGTM on the UserAuth changes.

Powered by Google App Engine
This is Rietveld 408576698