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

Issue 6490008: Fix user-to-system-level installation delegation. This looks to have been bro... (Closed)

Created:
9 years, 10 months ago by robertshield
Modified:
9 years, 6 months ago
CC:
chromium-reviews, grt (UTC plus 2)
Visibility:
Public.

Description

Fix user-to-system-level installation delegation. This looks to have been broken since r66096. BUG=72620 TEST=Install user level Chrome then system level Chrome. Observer that user level Chrome removes itself and delegates to system level. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74609

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -18 lines) Patch
M chrome/browser/browser_main_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/install_util.h View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/installer/util/install_util.cc View 2 chunks +9 lines, -8 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
robertshield
9 years, 10 months ago (2011-02-10 20:41:56 UTC) #1
tommi (sloooow) - chröme
http://codereview.chromium.org/6490008/diff/1/chrome/installer/util/install_util.cc File chrome/installer/util/install_util.cc (right): http://codereview.chromium.org/6490008/diff/1/chrome/installer/util/install_util.cc#newcode75 chrome/installer/util/install_util.cc:75: ProductState state; With this, now Chrome depends on the ...
9 years, 10 months ago (2011-02-10 20:52:37 UTC) #2
tommi (sloooow) - chröme
lgtm as is as discussed On Thu, Feb 10, 2011 at 3:52 PM, <tommi@chromium.org> wrote: ...
9 years, 10 months ago (2011-02-10 21:03:00 UTC) #3
robertshield
9 years, 10 months ago (2011-02-10 21:09:39 UTC) #4
http://codereview.chromium.org/6490008/diff/1/chrome/installer/util/install_u...
File chrome/installer/util/install_util.cc (right):

http://codereview.chromium.org/6490008/diff/1/chrome/installer/util/install_u...
chrome/installer/util/install_util.cc:75: ProductState state;
On 2011/02/10 20:52:37, tommi wrote:
> With this, now Chrome depends on the ProductState and I suspect some other
parts
> of the installer it didn't previously depend on.
> 
> Could we move this function out of the installer altogether?

We could, but I'm not sure that's the best way to go just yet. The new
machine-state inspection code in Chrome has the advantage of being tested which
the code in Chrome isn't. I'd like to stick with using the one canonical way of
inspecting machine state (i.e. the InstallationState/ProductState code).

> 
> It looks like GoogleChromeDistribution::InactiveUserToastExperiment is the
only
> thing in the installer that uses this function.
> We could take that function out of the browserdistribution class and move it
> into the installer and use ProductState there.  That way we also move the
> experiment code out of Chrome.

Powered by Google App Engine
This is Rietveld 408576698