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

Issue 1780693002: Fix the path of Chrome shortcuts from the 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

Fix the path of Chrome shortcuts from the installer. With this CL, the installer looks for shortcuts with a target path that starts with the install directory and ends with *chrome.exe. It updates all these shortcuts to point to the correct Chrome executable. This will fix shortcuts broken by https://codereview.chromium.org/1666363002/, which have a path that looks like this: C:\Users\<user>\AppData\Local\Google\Chrome SxS\Temp\scoped_dir_<x>\new_chrome.exe R=gab@chromium.org,grt@chromium.org BUG=592040 Committed: https://crrev.com/ff323ec5588d6e61a4267ab32251cf2310c84533 Cr-Commit-Position: refs/heads/master@{#380405}

Patch Set 1 #

Total comments: 28

Patch Set 2 : CR #

Patch Set 3 : CR #

Patch Set 4 : self review #

Total comments: 6

Patch Set 5 : CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -0 lines) Patch
M chrome/installer/setup/install.cc View 1 2 3 4 4 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
fdoray
Gab or Greg, can you review this CL? Thanks.
4 years, 9 months ago (2016-03-09 18:46:55 UTC) #1
gab
lg, comments below. @grt: do you feel like deep recursing through "C:\Users\Gabriel\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\" is ...
4 years, 9 months ago (2016-03-09 20:10:44 UTC) #2
fdoray
Done. Can you take another look? https://codereview.chromium.org/1780693002/diff/1/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/1780693002/diff/1/chrome/installer/setup/install.cc#newcode381 chrome/installer/setup/install.cc:381: shortcut_operation == ShellUtil::SHELL_SHORTCUT_REPLACE_EXISTING) ...
4 years, 9 months ago (2016-03-09 22:13:03 UTC) #3
gab
lgtm w/ move to anonymous method. Thanks! Gab https://codereview.chromium.org/1780693002/diff/60001/chrome/installer/setup/update_per_user_shortcuts_in_location.cc File chrome/installer/setup/update_per_user_shortcuts_in_location.cc (right): https://codereview.chromium.org/1780693002/diff/60001/chrome/installer/setup/update_per_user_shortcuts_in_location.cc#newcode7 chrome/installer/setup/update_per_user_shortcuts_in_location.cc:7: #include ...
4 years, 9 months ago (2016-03-10 06:01:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780693002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780693002/80001
4 years, 9 months ago (2016-03-10 14:32:30 UTC) #7
fdoray
https://codereview.chromium.org/1780693002/diff/60001/chrome/installer/setup/update_per_user_shortcuts_in_location.cc File chrome/installer/setup/update_per_user_shortcuts_in_location.cc (right): https://codereview.chromium.org/1780693002/diff/60001/chrome/installer/setup/update_per_user_shortcuts_in_location.cc#newcode7 chrome/installer/setup/update_per_user_shortcuts_in_location.cc:7: #include "base/command_line.h" On 2016/03/10 06:01:03, gab wrote: > Not ...
4 years, 9 months ago (2016-03-10 14:32:46 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-10 15:10:48 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 15:12:03 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ff323ec5588d6e61a4267ab32251cf2310c84533
Cr-Commit-Position: refs/heads/master@{#380405}

Powered by Google App Engine
This is Rietveld 408576698