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

Issue 1803383002: Don't update Canary shortcuts from Dev/Beta/Stable installer. (Closed)

Created:
4 years, 9 months ago by fdoray
Modified:
4 years, 9 months ago
Reviewers:
gab, grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't update Canary shortcuts from Dev/Beta/Stable installer. Before this change, UpdatePerUserShortcutsInLocation() looked for shortcuts pointing to |install dir|(.*)chrome\.exe and updated them to point to the chrome.exe of the current installation. Unfortunately, for a user-level dev/beta/stable installation, |install dir| is something like "C:\Users\...\Google\Chrome", which means that "C:\Users\...\Google\Chrome SxS\chrome.exe" is matched. With this CL, a dev/beta/stable installer will no longer try to update shortcuts pointing to a Canary installation. BUG=595374 Committed: https://crrev.com/a31042286f1978cfed1546b500db62a96fa9e5c6 Cr-Commit-Position: refs/heads/master@{#381642}

Patch Set 1 #

Total comments: 8

Patch Set 2 : CR from gab@ #4 #

Patch Set 3 : Normalize file paths. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -6 lines) Patch
M chrome/installer/setup/install.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/installer/setup/install.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/installer/setup/install_unittest.cc View 1 2 3 chunks +155 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
fdoray
gab@ or grt@: Can you review this CL? Doesn't fix the broken shortcuts, but ensures ...
4 years, 9 months ago (2016-03-16 16:22:44 UTC) #2
gab
lgtm for fix and test w/ a follow-up to have a custom function that fixes ...
4 years, 9 months ago (2016-03-16 21:57:31 UTC) #4
fdoray
https://codereview.chromium.org/1803383002/diff/1/chrome/installer/setup/install.h File chrome/installer/setup/install.h (right): https://codereview.chromium.org/1803383002/diff/1/chrome/installer/setup/install.h#newcode56 chrome/installer/setup/install.h:56: // - Whose paths ends with |old_target_path_suffix|. On 2016/03/16 ...
4 years, 9 months ago (2016-03-17 00:50:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1803383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1803383002/20001
4 years, 9 months ago (2016-03-17 00:51:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1803383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1803383002/40001
4 years, 9 months ago (2016-03-17 01:30:42 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-17 02:11:22 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 02:12:46 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a31042286f1978cfed1546b500db62a96fa9e5c6
Cr-Commit-Position: refs/heads/master@{#381642}

Powered by Google App Engine
This is Rietveld 408576698