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

Issue 2372633002: Use the correct product/version for postmortem reports (Closed)

Created:
4 years, 2 months ago by manzagop (departed)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the correct product/version for postmortem reports BUG=620813 Committed: https://crrev.com/8014d5ff93657cc93ada6a91762d2dea1943ac74 Cr-Commit-Position: refs/heads/master@{#422311}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Direct access to GetExecutableVersionDetails via ChromePostmortemReportCollector #

Total comments: 8

Patch Set 3 : Switch to passing a callback #

Patch Set 4 : Merge #

Total comments: 4

Patch Set 5 : Pass strings to PostmortemReportCollector's ctor #

Total comments: 2

Patch Set 6 : More detailed MinidumpInfo comment #

Patch Set 7 : Fix MinidumpWriter unittest to reflect product,version -> prod,ver #

Patch Set 8 : Address clang errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -39 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 chunks +20 lines, -0 lines 0 comments Download
M components/browser_watcher/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/browser_watcher/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/browser_watcher/postmortem_minidump_writer.h View 1 2 3 4 5 6 7 1 chunk +15 lines, -4 lines 0 comments Download
M components/browser_watcher/postmortem_minidump_writer_win.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -2 lines 0 comments Download
M components/browser_watcher/postmortem_minidump_writer_win_unittest.cc View 1 2 3 4 5 6 3 chunks +20 lines, -8 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector.h View 1 2 3 4 4 chunks +13 lines, -1 line 0 comments Download
M components/browser_watcher/postmortem_report_collector.cc View 1 2 3 4 3 chunks +21 lines, -3 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector_unittest.cc View 1 2 3 4 6 chunks +14 lines, -5 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.h View 1 2 3 4 5 6 7 4 chunks +7 lines, -0 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.cc View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win_unittest.cc View 1 2 6 chunks +18 lines, -11 lines 0 comments Download

Messages

Total messages: 40 (23 generated)
manzagop (departed)
Hi grt! I've switched from using version_info's product/version to those found in the executable. Additionally, ...
4 years, 2 months ago (2016-09-26 15:18:51 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/2372633002/diff/20001/chrome/app/chrome_crash_reporter_client_win.cc File chrome/app/chrome_crash_reporter_client_win.cc (right): https://codereview.chromium.org/2372633002/diff/20001/chrome/app/chrome_crash_reporter_client_win.cc#newcode269 chrome/app/chrome_crash_reporter_client_win.cc:269: if (exe_path_ != exe_path) don't DCHECK and then handle ...
4 years, 2 months ago (2016-09-26 18:59:06 UTC) #4
manzagop (departed)
I switched things around... Please have another look! https://codereview.chromium.org/2372633002/diff/20001/chrome/app/chrome_crash_reporter_client_win.cc File chrome/app/chrome_crash_reporter_client_win.cc (right): https://codereview.chromium.org/2372633002/diff/20001/chrome/app/chrome_crash_reporter_client_win.cc#newcode269 chrome/app/chrome_crash_reporter_client_win.cc:269: if ...
4 years, 2 months ago (2016-09-27 19:37:52 UTC) #6
grt (UTC plus 2)
i think this can be simplified; please see below. thanks. https://codereview.chromium.org/2372633002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc File chrome/browser/metrics/chrome_metrics_service_client.cc (right): https://codereview.chromium.org/2372633002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc#newcode504 ...
4 years, 2 months ago (2016-09-27 20:43:10 UTC) #7
manzagop (departed)
Thanks for being patient and providing explanations. I'm progressing in my understanding of what should ...
4 years, 2 months ago (2016-09-28 16:29:17 UTC) #9
grt (UTC plus 2)
https://codereview.chromium.org/2372633002/diff/120001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2372633002/diff/120001/components/browser_watcher/postmortem_report_collector.h#newcode34 components/browser_watcher/postmortem_report_collector.h:34: using GetExecutableDetailsCallback = wdyt of getting rid of this ...
4 years, 2 months ago (2016-09-28 19:42:45 UTC) #10
manzagop (departed)
Thanks! Another look? https://codereview.chromium.org/2372633002/diff/120001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2372633002/diff/120001/components/browser_watcher/postmortem_report_collector.h#newcode34 components/browser_watcher/postmortem_report_collector.h:34: using GetExecutableDetailsCallback = On 2016/09/28 19:42:45, ...
4 years, 2 months ago (2016-09-29 15:23:14 UTC) #11
grt (UTC plus 2)
simple! i like it! lgtm.
4 years, 2 months ago (2016-09-29 19:49:42 UTC) #12
manzagop (departed)
Thanks for the review!
4 years, 2 months ago (2016-09-30 13:22:11 UTC) #13
manzagop (departed)
Hi Rob! I'm looking for an OWNERS' review for the change in chrome_metrics_service_client.cc. Thanks! Pierre
4 years, 2 months ago (2016-09-30 13:23:02 UTC) #15
rkaplow
lgtm https://codereview.chromium.org/2372633002/diff/140001/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://codereview.chromium.org/2372633002/diff/140001/components/browser_watcher/postmortem_minidump_writer.h#newcode24 components/browser_watcher/postmortem_minidump_writer.h:24: std::string channel_name; // The name of the channel. ...
4 years, 2 months ago (2016-09-30 14:41:54 UTC) #16
manzagop (departed)
Thanks for the review! https://codereview.chromium.org/2372633002/diff/140001/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://codereview.chromium.org/2372633002/diff/140001/components/browser_watcher/postmortem_minidump_writer.h#newcode24 components/browser_watcher/postmortem_minidump_writer.h:24: std::string channel_name; // The name ...
4 years, 2 months ago (2016-09-30 18:54:20 UTC) #19
manzagop (departed)
FYI I had to update a test (due to 'product' -> 'prod' crash key change) ...
4 years, 2 months ago (2016-10-01 12:41:32 UTC) #33
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/2372633002/220001
4 years, 2 months ago (2016-10-01 12:42:12 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:220001)
4 years, 2 months ago (2016-10-01 12:47:04 UTC) #37
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/8014d5ff93657cc93ada6a91762d2dea1943ac74 Cr-Commit-Position: refs/heads/master@{#422311}
4 years, 2 months ago (2016-10-01 12:48:58 UTC) #39
grt (UTC plus 2)
4 years, 2 months ago (2016-10-01 19:51:13 UTC) #40
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698