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

Issue 23581012: Restricting scope of ShellUtil's shortcut update feature for its specific usage in Chrome self-dest… (Closed)

Created:
7 years, 3 months ago by huangs
Modified:
7 years, 3 months ago
Reviewers:
gab
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Restricting scope of ShellUtil's shortcut update feature for its specific usage in Chrome self-destruct flow. This is a follow-up to https://chromiumcodereview.appspot.com/22382007/ , to implement gab@'s suggested changes. Details: - Renaming ShellUtil::UpdateShortcuts() to ShellUtil::UpdateShortcuts() to UpdateShortcutsWithArgs(). - Removing the |require_args| from the interface of ShellUtil::UpdateShortcuts() (always set to true). - Change is propagated to caller in uninstall.cc. - Update to tests. BUG=235857 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223173

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comment fixes. #

Total comments: 9

Patch Set 3 : Function renaming and comment fixes. #

Total comments: 2

Patch Set 4 : Using VLOG(ERROR) for one change. #

Patch Set 5 : Using VLOG(ERROR) for one change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -66 lines) Patch
M chrome/installer/setup/uninstall.cc View 1 2 3 3 chunks +35 lines, -33 lines 0 comments Download
M chrome/installer/util/shell_util.h View 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 7 chunks +12 lines, -25 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
huangs
See last set of messages in https://chromiumcodereview.appspot.com/22382007 PTAL.
7 years, 3 months ago (2013-09-11 19:03:15 UTC) #1
gab
Thanks, looks good, some comments below. Cheers! Gab https://codereview.chromium.org/23581012/diff/1/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/23581012/diff/1/chrome/installer/setup/uninstall.cc#newcode332 chrome/installer/setup/uninstall.cc:332: // ...
7 years, 3 months ago (2013-09-11 20:34:23 UTC) #2
huangs
PTAL. https://codereview.chromium.org/23581012/diff/1/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/23581012/diff/1/chrome/installer/setup/uninstall.cc#newcode332 chrome/installer/setup/uninstall.cc:332: // target |new_target_exe| instead. This can only be ...
7 years, 3 months ago (2013-09-11 21:31:24 UTC) #3
gab
lgtm w/ comments below. Cheers! Gab https://codereview.chromium.org/23581012/diff/6001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/23581012/diff/6001/chrome/installer/setup/uninstall.cc#newcode331 chrome/installer/setup/uninstall.cc:331: nit: Remove this ...
7 years, 3 months ago (2013-09-13 01:53:26 UTC) #4
huangs
Updated, but waiting for response re. "chrome" vs. "Chrome". I'll be in McGill during the ...
7 years, 3 months ago (2013-09-13 04:16:25 UTC) #5
gab
Thanks, one more nit below, re-lgtm https://codereview.chromium.org/23581012/diff/6001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/23581012/diff/6001/chrome/installer/setup/uninstall.cc#newcode1196 chrome/installer/setup/uninstall.cc:1196: // Chrome. On ...
7 years, 3 months ago (2013-09-13 14:31:24 UTC) #6
huangs
https://codereview.chromium.org/23581012/diff/11001/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/23581012/diff/11001/chrome/installer/setup/uninstall.cc#newcode1207 chrome/installer/setup/uninstall.cc:1207: VLOG(1) << "Retarget failed: system-level Chrome not found."; On ...
7 years, 3 months ago (2013-09-13 20:17:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/23581012/17001
7 years, 3 months ago (2013-09-13 20:18:11 UTC) #8
gab
Looks like the latest diff of uninstall.cc is broken... stopping CQ for now.
7 years, 3 months ago (2013-09-13 20:26:29 UTC) #9
huangs
Weird; thanks for noticing this. Gonna reupload.
7 years, 3 months ago (2013-09-13 20:32:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/23581012/10001
7 years, 3 months ago (2013-09-13 20:43:47 UTC) #11
commit-bot: I haz the power
7 years, 3 months ago (2013-09-13 23:50:44 UTC) #12
Message was sent while issue was closed.
Change committed as 223173

Powered by Google App Engine
This is Rietveld 408576698