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

Issue 11420045: Launch system-level Active Setup immediately following self-destruction of a user-level Chrome. (Closed)

Created:
8 years, 1 month ago by gab
Modified:
8 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, robertshield
Visibility:
Public.

Description

Launch system-level Active Setup immediately following self-destruction of a user-level Chrome. 1st attempt at https://codereview.chromium.org/11359219/ was reverted (see comments post commit on that CL). TBR=thakis BUG=158524 TEST=Install user-level Chrome on user A, install system-level Chrome on user B (while A is still logged in), go back to user A and run Chrome, user-level Chrome self-destructs and new shortcuts are installed pointing to system-level Chrome. Try with: user A's chrome never ran, user A's Chrome ran and is set to prefer desktop chrome, user A's Chrome ran and is set to prefer Metro mode. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169079

Patch Set 1 #

Patch Set 2 : Trigger the system-level Chrome's active setup #

Total comments: 8

Patch Set 3 : grt comments -- only breakaway if in Metro #

Total comments: 4

Patch Set 4 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -20 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 1 chunk +11 lines, -7 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/installer/util/install_util.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 2 3 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
gab
grt can you please take a look? You came up with the suggestion originally after ...
8 years, 1 month ago (2012-11-20 00:16:22 UTC) #1
gab
On 2012/11/20 00:16:22, gab wrote: > grt can you please take a look? You came ...
8 years, 1 month ago (2012-11-20 00:18:48 UTC) #2
grt (UTC plus 2)
lgtm w/ two suggestions https://codereview.chromium.org/11420045/diff/2001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/11420045/diff/2001/chrome/installer/setup/uninstall.cc#newcode1273 chrome/installer/setup/uninstall.cc:1273: // Upon uninstalling user-level Chrome, ...
8 years, 1 month ago (2012-11-20 02:04:45 UTC) #3
grt (UTC plus 2)
Hi Julian, I remember that you fixed the issue with jobs on Citrix. Would you ...
8 years, 1 month ago (2012-11-20 02:40:57 UTC) #4
pastarmovj
https://codereview.chromium.org/11420045/diff/2001/chrome/installer/util/install_util.cc File chrome/installer/util/install_util.cc (right): https://codereview.chromium.org/11420045/diff/2001/chrome/installer/util/install_util.cc#newcode149 chrome/installer/util/install_util.cc:149: launch_options.force_breakaway_from_job_ = true; On 2012/11/20 02:40:57, grt wrote: > ...
8 years, 1 month ago (2012-11-20 09:41:35 UTC) #5
pastarmovj
https://codereview.chromium.org/11420045/diff/2001/chrome/installer/util/install_util.cc File chrome/installer/util/install_util.cc (right): https://codereview.chromium.org/11420045/diff/2001/chrome/installer/util/install_util.cc#newcode149 chrome/installer/util/install_util.cc:149: launch_options.force_breakaway_from_job_ = true; On 2012/11/20 09:41:35, pastarmovj wrote: > ...
8 years, 1 month ago (2012-11-20 09:42:37 UTC) #6
gab
Thanks, done. @thakis for OWNER approval on side-effects in chrome/browser/chrome_browser_main.cc https://codereview.chromium.org/11420045/diff/2001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/11420045/diff/2001/chrome/installer/setup/uninstall.cc#newcode1273 ...
8 years, 1 month ago (2012-11-20 15:33:51 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/11420045/diff/7003/chrome/installer/util/install_util.h File chrome/installer/util/install_util.h (right): https://codereview.chromium.org/11420045/diff/7003/chrome/installer/util/install_util.h#newcode35 chrome/installer/util/install_util.h:35: // Attempts to trigger the command that would be ...
8 years, 1 month ago (2012-11-20 15:55:37 UTC) #8
Nico
https://codereview.chromium.org/11420045/diff/7003/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/11420045/diff/7003/chrome/browser/chrome_browser_main.cc#newcode1206 chrome/browser/chrome_browser_main.cc:1206: // OS specific sections below. Sounds like a good ...
8 years, 1 month ago (2012-11-20 18:07:12 UTC) #9
gab
@Nico: see reply below. Thanks, Gab https://codereview.chromium.org/11420045/diff/7003/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/11420045/diff/7003/chrome/browser/chrome_browser_main.cc#newcode1206 chrome/browser/chrome_browser_main.cc:1206: // OS specific ...
8 years, 1 month ago (2012-11-20 20:42:10 UTC) #10
Nico
On 2012/11/20 20:42:10, gab wrote: > @Nico: see reply below. > > Thanks, > Gab ...
8 years, 1 month ago (2012-11-20 20:59:30 UTC) #11
gab
Ok, I will do the refactoring part in this CL (https://codereview.chromium.org/11413121/), but I would still ...
8 years, 1 month ago (2012-11-21 16:08:58 UTC) #12
gab
Nico sent his lgtm by email, but the code review tool doesn't seem to have ...
8 years, 1 month ago (2012-11-21 16:48:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11420045/15001
8 years, 1 month ago (2012-11-21 16:48:54 UTC) #14
Nico
and another lgtm for rietveld
8 years, 1 month ago (2012-11-21 17:07:25 UTC) #15
commit-bot: I haz the power
8 years, 1 month ago (2012-11-21 18:36:58 UTC) #16
Change committed as 169079

Powered by Google App Engine
This is Rietveld 408576698