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

Issue 1878313003: Convert //chrome/installer from scoped_ptr to std::unique_ptr (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
CC:
chromium-reviews, grt+watch_chromium.org, jshin+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

Convert //chrome/installer from scoped_ptr to std::unique_ptr BUG=554298 R=thestig@chromium.org Committed: https://crrev.com/f5d315cecedf2bc83f7499d9c4311215db51ecc6 Cr-Commit-Position: refs/heads/master@{#386997}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Revert decompress.cc in mini_installer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -465 lines) Patch
M chrome/browser/google/google_update_settings_posix.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/installer/setup/install.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/installer/setup/install_unittest.cc View 7 chunks +12 lines, -11 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 5 chunks +4 lines, -4 lines 0 comments Download
M chrome/installer/setup/install_worker_unittest.cc View 18 chunks +36 lines, -39 lines 0 comments Download
M chrome/installer/setup/installer_crash_reporter_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/setup/installer_crash_reporting.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/setup/setup_main.cc View 10 chunks +13 lines, -15 lines 0 comments Download
M chrome/installer/setup/setup_util.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/setup/setup_util_unittest.cc View 9 chunks +11 lines, -11 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/installer/util/beacons.h View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/installer/util/beacons.cc View 2 chunks +11 lines, -10 lines 0 comments Download
M chrome/installer/util/beacons_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/installer/util/browser_distribution.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/installer/util/chrome_frame_distribution.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/chromium_binaries_distribution.cc View 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/installer/util/conditional_work_item_list.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/installer/util/copy_tree_work_item_unittest.cc View 10 chunks +32 lines, -55 lines 0 comments Download
M chrome/installer/util/create_dir_work_item_unittest.cc View 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/installer/util/create_reg_key_work_item_unittest.cc View 6 chunks +9 lines, -7 lines 0 comments Download
M chrome/installer/util/delete_after_reboot_helper_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/installer/util/delete_reg_key_work_item_unittest.cc View 5 chunks +16 lines, -10 lines 0 comments Download
M chrome/installer/util/delete_reg_value_work_item_unittest.cc View 4 chunks +11 lines, -9 lines 0 comments Download
M chrome/installer/util/delete_tree_work_item.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/util/delete_tree_work_item_unittest.cc View 5 chunks +8 lines, -7 lines 0 comments Download
M chrome/installer/util/firewall_manager_win.h View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/installer/util/firewall_manager_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/installer/util/google_chrome_binaries_distribution.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_dummy.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/installer/util/google_chrome_sxs_distribution.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/installer/util/google_update_settings.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_update_settings.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/installer/util/google_update_settings_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/install_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/install_util_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/installer/util/installation_state.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/util/installer_state.h View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/util/installer_state.cc View 11 chunks +11 lines, -12 lines 0 comments Download
M chrome/installer/util/installer_state_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/l10n_string_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/lzma_file_allocator_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/installer/util/master_preferences.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/master_preferences.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/util/master_preferences_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/installer/util/module_util_win.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/move_tree_work_item_unittest.cc View 9 chunks +19 lines, -42 lines 0 comments Download
M chrome/installer/util/product.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/registry_key_backup.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/registry_key_backup.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/registry_key_backup_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/installer/util/scoped_user_protocol_entry_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/installer/util/set_reg_value_work_item_unittest.cc View 10 chunks +47 lines, -82 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/installer/util/shell_util_unittest.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/installer/util/uninstall_metrics.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/uninstall_metrics_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/work_item_list.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/work_item_list_unittest.cc View 7 chunks +14 lines, -12 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
dcheng
4 years, 8 months ago (2016-04-13 00:26:04 UTC) #1
Lei Zhang
Got red bots still. https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc File chrome/installer/mini_installer/decompress.cc (right): https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc#newcode88 chrome/installer/mini_installer/decompress.cc:88: std::unique_ptr<wchar_t> path(Utf8ToWide(pszFile)); IWYU
4 years, 8 months ago (2016-04-13 01:22:42 UTC) #2
dcheng
https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc File chrome/installer/mini_installer/decompress.cc (right): https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc#newcode88 chrome/installer/mini_installer/decompress.cc:88: std::unique_ptr<wchar_t> path(Utf8ToWide(pszFile)); On 2016/04/13 at 01:22:42, Lei Zhang wrote: ...
4 years, 8 months ago (2016-04-13 01:24:32 UTC) #3
dcheng
https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc File chrome/installer/mini_installer/decompress.cc (right): https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc#newcode88 chrome/installer/mini_installer/decompress.cc:88: std::unique_ptr<wchar_t> path(Utf8ToWide(pszFile)); On 2016/04/13 at 01:24:31, dcheng wrote: > ...
4 years, 8 months ago (2016-04-13 01:24:59 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc File chrome/installer/mini_installer/decompress.cc (right): https://codereview.chromium.org/1878313003/diff/1/chrome/installer/mini_installer/decompress.cc#newcode88 chrome/installer/mini_installer/decompress.cc:88: std::unique_ptr<wchar_t> path(Utf8ToWide(pszFile)); On 2016/04/13 01:24:59, dcheng wrote: > ...
4 years, 8 months ago (2016-04-13 01:44:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878313003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878313003/20001
4 years, 8 months ago (2016-04-13 01:46:53 UTC) #7
Will Harris
Sorry but I think it's prudent to get l-g-t-m from chrome/installer owners before committing this.
4 years, 8 months ago (2016-04-13 02:02:17 UTC) #8
dcheng
wfh@, are there guidelines for when I need a review specifically from a //chrome/installer OWNER? ...
4 years, 8 months ago (2016-04-13 02:22:28 UTC) #12
Will Harris
On 2016/04/13 02:22:28, dcheng wrote: > wfh@, are there guidelines for when I need a ...
4 years, 8 months ago (2016-04-13 02:26:53 UTC) #13
grt (UTC plus 2)
On 2016/04/13 02:26:53, Will Harris wrote: > On 2016/04/13 02:22:28, dcheng wrote: > > wfh@, ...
4 years, 8 months ago (2016-04-13 15:27:45 UTC) #14
grt (UTC plus 2)
oh, and lgtm. thanks for updating setup and util.
4 years, 8 months ago (2016-04-13 15:29:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878313003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878313003/20001
4 years, 8 months ago (2016-04-13 15:33:08 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-13 15:40:00 UTC) #19
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 15:40:53 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f5d315cecedf2bc83f7499d9c4311215db51ecc6
Cr-Commit-Position: refs/heads/master@{#386997}

Powered by Google App Engine
This is Rietveld 408576698