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

Issue 2335313002: Always persist histograms from setup.exe. (Closed)

Created:
4 years, 3 months ago by fdoray
Modified:
4 years, 3 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

Always persist histograms from setup.exe. Before this CL, setup.exe did not always persist histograms (e.g. when launched with --rename-chrome-exe, when SetupSingleton acquisition failed during an install or update). With this CL, RAII is used to ensure that a setup.exe process always persists histograms (except when the histogram storage directory does not exist). BUG=451546 Committed: https://crrev.com/10c71cf7cd97b4d893cd1fff74a1bd086fc46405 Cr-Commit-Position: refs/heads/master@{#418555}

Patch Set 1 #

Patch Set 2 : self-review #

Patch Set 3 : rename files #

Total comments: 8

Patch Set 4 : CR grt/bcwhite #4-5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -334 lines) Patch
M chrome/installer/setup/BUILD.gn View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 chunks +71 lines, -3 lines 0 comments Download
M chrome/installer/setup/installer_metrics.h View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/installer/setup/installer_metrics.cc View 1 2 1 chunk +0 lines, -148 lines 0 comments Download
A + chrome/installer/setup/persistent_histogram_storage.h View 1 2 3 1 chunk +30 lines, -42 lines 0 comments Download
A + chrome/installer/setup/persistent_histogram_storage.cc View 1 2 3 3 chunks +19 lines, -98 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 chunks +6 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
fdoray
PTAL
4 years, 3 months ago (2016-09-13 19:12:14 UTC) #3
grt (UTC plus 2)
lgtm with nits. please wait for bcwhite's review. https://codereview.chromium.org/2335313002/diff/40001/chrome/installer/setup/persistent_histogram_storage.cc File chrome/installer/setup/persistent_histogram_storage.cc (right): https://codereview.chromium.org/2335313002/diff/40001/chrome/installer/setup/persistent_histogram_storage.cc#newcode25 chrome/installer/setup/persistent_histogram_storage.cc:25: installer::kSetupHistogramAllocatorName); ...
4 years, 3 months ago (2016-09-13 19:43:00 UTC) #4
bcwhite
https://codereview.chromium.org/2335313002/diff/40001/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (right): https://codereview.chromium.org/2335313002/diff/40001/chrome/installer/setup/install_worker.cc#newcode397 chrome/installer/setup/install_worker.cc:397: // https://msdn.microsoft.com/en-us/library/windows/desktop/aa379283.aspx This Don't reflow this comment. It's clearer ...
4 years, 3 months ago (2016-09-13 19:53:53 UTC) #5
fdoray
bcwhite@: PTAnL https://codereview.chromium.org/2335313002/diff/40001/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (right): https://codereview.chromium.org/2335313002/diff/40001/chrome/installer/setup/install_worker.cc#newcode397 chrome/installer/setup/install_worker.cc:397: // https://msdn.microsoft.com/en-us/library/windows/desktop/aa379283.aspx This On 2016/09/13 19:53:53, bcwhite ...
4 years, 3 months ago (2016-09-13 20:18:26 UTC) #6
bcwhite
lgtm
4 years, 3 months ago (2016-09-14 13:23:06 UTC) #7
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/2335313002/60001
4 years, 3 months ago (2016-09-14 13:27:12 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-14 14:23:08 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 14:25:17 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/10c71cf7cd97b4d893cd1fff74a1bd086fc46405
Cr-Commit-Position: refs/heads/master@{#418555}

Powered by Google App Engine
This is Rietveld 408576698