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 9953002: The me2me host is now configurable from the web UI on Windows. (Closed)

Created:
8 years, 8 months ago by alexeypa (please no reviews)
Modified:
8 years, 8 months ago
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, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Chromoting: The me2me host is now configurable from the web UI on Windows. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129999

Patch Set 1 #

Patch Set 2 : Moving the Windows service name to a common location. #

Total comments: 38

Patch Set 3 : CR feedback #

Total comments: 120

Patch Set 4 : Addressed one or two nits. :-) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+627 lines, -111 lines) Patch
M remoting/VERSION View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/branding.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/host/branding.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/elevated_controller.idl View 3 chunks +6 lines, -27 lines 0 comments Download
M remoting/host/elevated_controller_module_win.cc View 2 chunks +21 lines, -0 lines 0 comments Download
M remoting/host/elevated_controller_win.h View 1 2 3 chunks +9 lines, -16 lines 0 comments Download
M remoting/host/elevated_controller_win.cc View 1 2 3 2 chunks +202 lines, -32 lines 0 comments Download
M remoting/host/host_service_win.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M remoting/host/installer/chromoting.wxs View 2 chunks +0 lines, -14 lines 0 comments Download
M remoting/host/plugin/daemon_controller.h View 1 chunk +13 lines, -7 lines 0 comments Download
M remoting/host/plugin/daemon_controller_win.cc View 1 2 3 3 chunks +346 lines, -6 lines 0 comments Download
M remoting/remoting.gyp View 1 3 chunks +9 lines, -0 lines 0 comments Download
M remoting/webapp/daemon_plugin.js View 1 chunk +7 lines, -4 lines 0 comments Download
M remoting/webapp/host_setup_dialog.js View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
alexeypa (please no reviews)
PTAL. Jamie & Sergey - JS and the daemon controller. Wez - the rest.
8 years, 8 months ago (2012-03-30 00:38:46 UTC) #1
Jamie
https://chromiumcodereview.appspot.com/9953002/diff/2001/remoting/host/branding.h File remoting/host/branding.h (right): https://chromiumcodereview.appspot.com/9953002/diff/2001/remoting/host/branding.h#newcode13 remoting/host/branding.h:13: extern const char kWindowsServiceName[]; Should this be ifdef'd for ...
8 years, 8 months ago (2012-03-30 01:11:47 UTC) #2
Sergey Ulanov
some nits, but LGTM otherwise. http://codereview.chromium.org/9953002/diff/2001/remoting/host/branding.cc File remoting/host/branding.cc (right): http://codereview.chromium.org/9953002/diff/2001/remoting/host/branding.cc#newcode37 remoting/host/branding.cc:37: const char kWindowsServiceName[] = ...
8 years, 8 months ago (2012-03-30 07:42:35 UTC) #3
alexeypa (please no reviews)
PTAL. https://chromiumcodereview.appspot.com/9953002/diff/2001/remoting/host/branding.cc File remoting/host/branding.cc (right): https://chromiumcodereview.appspot.com/9953002/diff/2001/remoting/host/branding.cc#newcode37 remoting/host/branding.cc:37: const char kWindowsServiceName[] = "chromoting"; On 2012/03/30 07:42:35, ...
8 years, 8 months ago (2012-03-30 16:30:55 UTC) #4
Jamie
lgtm
8 years, 8 months ago (2012-03-30 16:52:08 UTC) #5
alexeypa (please no reviews)
Wez, ping?
8 years, 8 months ago (2012-03-30 21:40:36 UTC) #6
Wez
On 2012/03/30 21:40:36, alexeypa wrote: > Wez, ping? Working on it. :)
8 years, 8 months ago (2012-03-30 21:56:37 UTC) #7
Wez
Basically LGTM, but with one or two nits. https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/branding.h File remoting/host/branding.h (right): https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/branding.h#newcode14 remoting/host/branding.h:14: extern ...
8 years, 8 months ago (2012-03-30 22:11:00 UTC) #8
alexeypa (please no reviews)
FYI. Addressed one or two Wez's nits. https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/branding.h File remoting/host/branding.h (right): https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/branding.h#newcode14 remoting/host/branding.h:14: extern const ...
8 years, 8 months ago (2012-03-30 23:47:09 UTC) #9
Lambros
https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevated_controller_win.cc File remoting/host/elevated_controller_win.cc (right): https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevated_controller_win.cc#newcode113 remoting/host/elevated_controller_win.cc:113: // Build the filtered config. On 2012/03/30 23:47:09, alexeypa ...
8 years, 8 months ago (2012-03-31 00:48:34 UTC) #10
Sergey Ulanov
On 2012/03/31 00:48:34, Lambros wrote: > https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevated_controller_win.cc > File remoting/host/elevated_controller_win.cc (right): > > https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevated_controller_win.cc#newcode113 > ...
8 years, 8 months ago (2012-03-31 00:58:41 UTC) #11
Wez
Thanks for dealing with [most of] my comments! https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevated_controller_win.cc File remoting/host/elevated_controller_win.cc (right): https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevated_controller_win.cc#newcode113 remoting/host/elevated_controller_win.cc:113: // ...
8 years, 8 months ago (2012-04-01 01:25:27 UTC) #12
alexeypa (please no reviews)
8 years, 8 months ago (2012-04-02 16:26:39 UTC) #13
FYI.

https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevat...
File remoting/host/elevated_controller_win.cc (right):

https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevat...
remoting/host/elevated_controller_win.cc:113: // Build the filtered config.
On 2012/04/01 01:25:27, Wez wrote:
> Right; my point is that the comment should clarify that e.g. "GetConfig is
> defined to return only a sub-set of the configuration." or "Filter the
> configuration (see GetConfig definition)."

Oh, well. I'll try to address this in one of the follow up CL.

https://chromiumcodereview.appspot.com/9953002/diff/6005/remoting/host/elevat...
remoting/host/elevated_controller_win.cc:196: return hr;
On 2012/04/01 01:25:27, Wez wrote:
> The word "here" was missing from my sentence; I thought it might be cleaner to
> do the conversion later, except for the GetLastError() trampling issue.

That is not the only reason. I don't think that using GetLastError() for
anything that is not Win32 API is a good idea. There should be a single source
of the error status to avoid issues like the one you are describing below.

> Yes; my point is that an API could return FALSE (i.e. error) but
GetLastError()
> be ERROR_SUCCESS, in which case this code will behave as if the call had
> succeeded.  Of course APIs shouldn't fail in that way...

Well, this can definitely happen in practice but it happens so rare that it can
be fixed on case-by-case basic.

Powered by Google App Engine
This is Rietveld 408576698