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

Issue 2379543002: installer and some misc files: Change ScopedTempDir::path() to GetPath() (Closed)

Created:
4 years, 2 months ago by vabr (Chromium)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

installer and some misc files: Change ScopedTempDir::path() to GetPath() path() is being deprecated, GetPath() has better checking against wrong use. For more context, see https://codereview.chromium.org/2275553005/. BUG=640599 Committed: https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8 Cr-Commit-Position: refs/heads/master@{#422068}

Patch Set 1 #

Patch Set 2 : Fix test failures #

Patch Set 3 : Fix compilation failure #

Total comments: 13

Patch Set 4 : Just rebased #

Patch Set 5 : Comments from gab@ addressed #

Patch Set 6 : Fix typo #

Patch Set 7 : Fix compilation #

Total comments: 2

Patch Set 8 : Just rebased #

Patch Set 9 : regroup ifs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -121 lines) Patch
M chrome/installer/setup/install_unittest.cc View 4 chunks +21 lines, -26 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/installer/setup/setup_singleton_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/installer/util/copy_tree_work_item.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/copy_tree_work_item.cc View 1 2 3 4 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/installer/util/copy_tree_work_item_unittest.cc View 1 2 3 4 5 7 chunks +7 lines, -7 lines 0 comments Download
M chrome/installer/util/delete_tree_work_item.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/installer/util/delete_tree_work_item.cc View 1 2 3 4 5 6 2 chunks +12 lines, -9 lines 0 comments Download
M chrome/installer/util/move_tree_work_item.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 9 chunks +42 lines, -46 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector_unittest.cc View 7 chunks +11 lines, -10 lines 0 comments Download
M components/prefs/json_pref_store_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (24 generated)
vabr (Chromium)
Hi gab@ and siggi@! siggi@: Please review the mechanical change in components/browser_watcher/postmortem_report_collector_unittest.cc gab@: Please review ...
4 years, 2 months ago (2016-09-28 13:10:25 UTC) #14
Sigurður Ásgeirsson
On 2016/09/28 13:10:25, vabr (Chromium) wrote: > Hi gab@ and siggi@! > > siggi@: Please ...
4 years, 2 months ago (2016-09-28 13:48:13 UTC) #15
gab
https://codereview.chromium.org/2379543002/diff/40001/chrome/installer/util/copy_tree_work_item.cc File chrome/installer/util/copy_tree_work_item.cc (right): https://codereview.chromium.org/2379543002/diff/40001/chrome/installer/util/copy_tree_work_item.cc#newcode79 chrome/installer/util/copy_tree_work_item.cc:79: backup_path_ = backup_dir_.GetPath(); This results in an extra copy ...
4 years, 2 months ago (2016-09-28 16:31:59 UTC) #16
vabr (Chromium)
Thanks for the review so far! @gab -- I answered two of your comments, please ...
4 years, 2 months ago (2016-09-28 20:06:36 UTC) #17
gab
https://codereview.chromium.org/2379543002/diff/40001/chrome/installer/util/copy_tree_work_item.cc File chrome/installer/util/copy_tree_work_item.cc (right): https://codereview.chromium.org/2379543002/diff/40001/chrome/installer/util/copy_tree_work_item.cc#newcode79 chrome/installer/util/copy_tree_work_item.cc:79: backup_path_ = backup_dir_.GetPath(); On 2016/09/28 20:06:36, vabr (Chromium) wrote: ...
4 years, 2 months ago (2016-09-28 20:25:25 UTC) #18
vabr (Chromium)
Thanks, gab@. I will update the code following your comments tomorrow and ping you at ...
4 years, 2 months ago (2016-09-28 20:33:11 UTC) #19
vabr (Chromium)
Hi gab@, please re-review. Thanks! Vaclav https://codereview.chromium.org/2379543002/diff/40001/chrome/installer/util/delete_tree_work_item.cc File chrome/installer/util/delete_tree_work_item.cc (right): https://codereview.chromium.org/2379543002/diff/40001/chrome/installer/util/delete_tree_work_item.cc#newcode48 chrome/installer/util/delete_tree_work_item.cc:48: backup_path_ = backup_dir_.GetPath(); ...
4 years, 2 months ago (2016-09-29 09:11:03 UTC) #28
gab
lgtm % comment https://codereview.chromium.org/2379543002/diff/120001/chrome/installer/util/move_tree_work_item.cc File chrome/installer/util/move_tree_work_item.cc (right): https://codereview.chromium.org/2379543002/diff/120001/chrome/installer/util/move_tree_work_item.cc#newcode111 chrome/installer/util/move_tree_work_item.cc:111: backup = backup_path_.GetPath().Append(dest_path_.BaseName()); The two ifs ...
4 years, 2 months ago (2016-09-29 13:36:00 UTC) #29
vabr (Chromium)
Thanks! Comment addressed, sending to the CQ. Cheers, Vaclav https://codereview.chromium.org/2379543002/diff/120001/chrome/installer/util/move_tree_work_item.cc File chrome/installer/util/move_tree_work_item.cc (right): https://codereview.chromium.org/2379543002/diff/120001/chrome/installer/util/move_tree_work_item.cc#newcode111 chrome/installer/util/move_tree_work_item.cc:111: ...
4 years, 2 months ago (2016-09-30 07:40:10 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2379543002/160001
4 years, 2 months ago (2016-09-30 07:40:31 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-09-30 08:55:58 UTC) #34
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 08:59:42 UTC) #36
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5d919d6e4866aa240c11d21b917f2ac8ea5d5eb8
Cr-Commit-Position: refs/heads/master@{#422068}

Powered by Google App Engine
This is Rietveld 408576698