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

Issue 1475643004: Add crash keys for the installer covering simple InstallerState fields. (Closed)

Created:
5 years ago by Joe Mason
Modified:
5 years ago
Reviewers:
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

Add crash keys for the installer covering simple InstallerState fields. BUG=558552 Committed: https://crrev.com/dd966dbaf7b2669d5b27fda1a0d65d3e6688525d Cr-Commit-Position: refs/heads/master@{#362036}

Patch Set 1 #

Patch Set 2 : Add state_key #

Patch Set 3 : Add previous version, plus some comments #

Total comments: 13

Patch Set 4 : Refactor, remove current-version #

Patch Set 5 : Move command-line switch refactor to another patch for easier review #

Total comments: 27

Patch Set 6 : Fix review comments #

Total comments: 12

Patch Set 7 : More review comments #

Patch Set 8 : Missed include in last patch #

Total comments: 3

Patch Set 9 : Fix nits #

Patch Set 10 : Convert state_key from wstring to string16 #

Patch Set 11 : Tweak GN build #

Total comments: 1

Patch Set 12 : Move include file to fix last nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -66 lines) Patch
M chrome/chrome_installer.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/setup/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -1 line 0 comments Download
M chrome/installer/setup/installer_crash_reporter_client.cc View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
A chrome/installer/setup/installer_crash_reporting.h View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/installer/setup/installer_crash_reporting.cc View 1 2 3 4 5 6 7 8 9 1 chunk +149 lines, -0 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 5 7 5 chunks +3 lines, -55 lines 0 comments Download
M chrome/installer/util/installer_state.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +3 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (14 generated)
Joe Mason
5 years ago (2015-11-24 21:58:08 UTC) #2
Joe Mason
This is all the simple stuff now. Will start new reviews for the more complex ...
5 years ago (2015-11-25 15:52:12 UTC) #3
grt (UTC plus 2)
Looks pretty good. Some suggestions below. https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc File chrome/installer/setup/setup_constants.cc (right): https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc#newcode43 chrome/installer/setup/setup_constants.cc:43: const char kPackageType[] ...
5 years ago (2015-11-25 16:44:09 UTC) #4
Joe Mason
https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_main.cc#newcode1337 chrome/installer/setup/setup_main.cc:1337: void SetStartingCrashKeys(const InstallerState& installer_state, On 2015/11/25 16:44:09, grt wrote: ...
5 years ago (2015-11-25 17:16:34 UTC) #5
Joe Mason
https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc File chrome/installer/setup/setup_constants.cc (right): https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc#newcode43 chrome/installer/setup/setup_constants.cc:43: const char kPackageType[] = "package-type"; On 2015/11/25 16:44:09, grt ...
5 years ago (2015-11-25 17:20:48 UTC) #6
grt (UTC plus 2)
https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc File chrome/installer/setup/setup_constants.cc (right): https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc#newcode43 chrome/installer/setup/setup_constants.cc:43: const char kPackageType[] = "package-type"; On 2015/11/25 17:20:48, joenotcharles ...
5 years ago (2015-11-25 17:44:01 UTC) #7
Joe Mason
https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_main.cc#newcode1340 chrome/installer/setup/setup_main.cc:1340: scoped_ptr<base::Version> current_version( On 2015/11/25 16:44:09, grt wrote: > CheckPreInstallConditions ...
5 years ago (2015-11-25 20:12:52 UTC) #8
grt (UTC plus 2)
https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_main.cc#newcode1340 chrome/installer/setup/setup_main.cc:1340: scoped_ptr<base::Version> current_version( On 2015/11/25 20:12:52, joenotcharles wrote: > On ...
5 years ago (2015-11-25 20:34:31 UTC) #9
Joe Mason
On 2015/11/25 16:44:09, grt wrote: > https://codereview.chromium.org/1475643004/diff/40001/chrome/installer/setup/setup_constants.cc#newcode43 > chrome/installer/setup/setup_constants.cc:43: const char kPackageType[] = > "package-type"; ...
5 years ago (2015-11-26 18:13:02 UTC) #13
grt (UTC plus 2)
https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc File chrome/installer/setup/installer_crash_keys.cc (right): https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc#newcode110 chrome/installer/setup/installer_crash_keys.cc:110: void ConfigureCrashReporting(const InstallerState& installer_state) { this does a lot ...
5 years ago (2015-11-26 19:24:45 UTC) #14
Joe Mason
https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc File chrome/installer/setup/installer_crash_keys.cc (right): https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc#newcode110 chrome/installer/setup/installer_crash_keys.cc:110: void ConfigureCrashReporting(const InstallerState& installer_state) { On 2015/11/26 19:24:45, grt ...
5 years ago (2015-11-26 19:47:02 UTC) #15
grt (UTC plus 2)
https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc File chrome/installer/setup/installer_crash_keys.cc (right): https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc#newcode110 chrome/installer/setup/installer_crash_keys.cc:110: void ConfigureCrashReporting(const InstallerState& installer_state) { On 2015/11/26 19:47:02, joenotcharles ...
5 years ago (2015-11-26 19:50:35 UTC) #16
Joe Mason
On 2015/11/26 19:50:35, grt wrote: > As the author of that comment, I authorize you ...
5 years ago (2015-11-26 20:48:34 UTC) #17
Joe Mason
https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc File chrome/installer/setup/installer_crash_keys.cc (right): https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc#newcode143 chrome/installer/setup/installer_crash_keys.cc:143: void RegisterCrashKeys(std::vector<base::debug::CrashKey>& keys) { On 2015/11/26 19:24:45, grt wrote: ...
5 years ago (2015-11-26 20:49:06 UTC) #18
grt (UTC plus 2)
https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc File chrome/installer/setup/installer_crash_keys.cc (right): https://codereview.chromium.org/1475643004/diff/80001/chrome/installer/setup/installer_crash_keys.cc#newcode171 chrome/installer/setup/installer_crash_keys.cc:171: if (!state_key.empty()) { On 2015/11/26 20:49:05, joenotcharles wrote: > ...
5 years ago (2015-11-26 21:37:18 UTC) #19
Joe Mason
https://codereview.chromium.org/1475643004/diff/100001/chrome/installer/setup/installer_crash_reporting.cc File chrome/installer/setup/installer_crash_reporting.cc (right): https://codereview.chromium.org/1475643004/diff/100001/chrome/installer/setup/installer_crash_reporting.cc#newcode32 chrome/installer/setup/installer_crash_reporting.cc:32: DCHECK(breakpad::CrashKeysWin::keeper()); On 2015/11/26 21:37:18, grt wrote: > #include "base/logging.h" ...
5 years ago (2015-11-26 22:28:54 UTC) #20
grt (UTC plus 2)
nice! lgtm with final nits. https://codereview.chromium.org/1475643004/diff/140001/chrome/installer/setup/installer_crash_reporting.cc File chrome/installer/setup/installer_crash_reporting.cc (right): https://codereview.chromium.org/1475643004/diff/140001/chrome/installer/setup/installer_crash_reporting.cc#newcode142 chrome/installer/setup/installer_crash_reporting.cc:142: const std::wstring state_key = ...
5 years ago (2015-11-27 15:05:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475643004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475643004/160001
5 years ago (2015-11-27 16:33:21 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/122878)
5 years ago (2015-11-27 16:42:42 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475643004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475643004/180001
5 years ago (2015-11-27 18:35:42 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/72498)
5 years ago (2015-11-27 18:47:02 UTC) #31
Joe Mason
Can you give patches 9 to 11 a quick look before I submit?
5 years ago (2015-11-27 19:31:47 UTC) #32
grt (UTC plus 2)
lgtm w/ a nit. thanks! https://codereview.chromium.org/1475643004/diff/200001/chrome/installer/util/installer_state.cc File chrome/installer/util/installer_state.cc (right): https://codereview.chromium.org/1475643004/diff/200001/chrome/installer/util/installer_state.cc#newcode17 chrome/installer/util/installer_state.cc:17: #include "base/strings/string16.h" move this ...
5 years ago (2015-11-27 19:37:03 UTC) #33
Joe Mason
Move include file to fix last nit
5 years ago (2015-11-27 19:53:12 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475643004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475643004/220001
5 years ago (2015-11-27 19:53:21 UTC) #37
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years ago (2015-11-27 21:16:39 UTC) #39
commit-bot: I haz the power
5 years ago (2015-11-27 21:17:56 UTC) #41
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/dd966dbaf7b2669d5b27fda1a0d65d3e6688525d
Cr-Commit-Position: refs/heads/master@{#362036}

Powered by Google App Engine
This is Rietveld 408576698