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

Issue 11743022: Windows: Remove desktop profile shortcuts (and any others pointing to the exe) on uninstall. (Closed)

Created:
7 years, 11 months ago by Alexei Svitkine (slow)
Modified:
7 years, 11 months ago
Reviewers:
gab, brettw
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Windows: Remove desktop profile shortcuts (and any others pointing to the exe) on uninstall. This is a re-land of https://codereview.chromium.org/11693010/, which failed on the tree on XP bots. The issue was that ProgramCompare::Evaluate() was parsing its value parameter is a command-line, which meant it was truncating it at the first space. This updated CL adds an EvaluatePath() function that takes a FilePath and doesn't try to parse it as a command-line. BUG=146636 TEST=Uninstalling Chrome removes any present profile shortcuts on the desktop. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175104

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -74 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_shortcut_manager_win.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/uninstall.cc View 3 chunks +7 lines, -8 lines 0 comments Download
M chrome/installer/util/install_util.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/installer/util/shell_util.h View 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 5 chunks +52 lines, -37 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 6 chunks +39 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Alexei Svitkine (slow)
7 years, 11 months ago (2013-01-03 18:12:10 UTC) #1
gab
On 2013/01/03 18:12:10, Alexei Svitkine wrote: Can you make patch set 1 the old CL ...
7 years, 11 months ago (2013-01-03 18:45:56 UTC) #2
Alexei Svitkine (slow)
done
7 years, 11 months ago (2013-01-03 18:55:06 UTC) #3
gab
Arg... I had the exact same change in my pipeline, but was waiting for this ...
7 years, 11 months ago (2013-01-03 19:19:25 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/11743022/diff/2005/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): https://codereview.chromium.org/11743022/diff/2005/chrome/installer/util/shell_util.cc#newcode1888 chrome/installer/util/shell_util.cc:1888: if (target_compare.Evaluate(read_target.value())) { On 2013/01/03 19:19:25, gab wrote: > ...
7 years, 11 months ago (2013-01-03 19:40:00 UTC) #5
Alexei Svitkine (slow)
brettw: Could I get another OWNERS rubber-stamp?
7 years, 11 months ago (2013-01-03 19:40:22 UTC) #6
Alexei Svitkine (slow)
TBR'ing brettw since the chrome/ parts didn't change since the last review.
7 years, 11 months ago (2013-01-03 20:07:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/11743022/11003
7 years, 11 months ago (2013-01-03 20:08:11 UTC) #8
brettw
lgtm rubberstamp
7 years, 11 months ago (2013-01-03 20:09:49 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 11 months ago (2013-01-03 20:11:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/11743022/11003
7 years, 11 months ago (2013-01-03 20:15:25 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests
7 years, 11 months ago (2013-01-03 23:25:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/11743022/11003
7 years, 11 months ago (2013-01-04 03:42:13 UTC) #13
commit-bot: I haz the power
7 years, 11 months ago (2013-01-04 04:49:51 UTC) #14
Message was sent while issue was closed.
Change committed as 175104

Powered by Google App Engine
This is Rietveld 408576698