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

Issue 2339193003: A collector for postmortem reports (Closed)

Created:
4 years, 3 months ago by manzagop (departed)
Modified:
4 years, 3 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

A collector for postmortem reports PostmortemReportCollector handles the collection of stability reports, their packaging to minidump format and registration to the Crashpad database for reporting. BUG=620813 Committed: https://crrev.com/49e10c6d112f14337814ed9c844031987925fc7a Cr-Commit-Position: refs/heads/master@{#419593}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Address first round of comments #

Total comments: 10

Patch Set 3 : Address Siggi's second round #

Total comments: 8

Patch Set 4 : Address nits #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+748 lines, -3 lines) Patch
M base/debug/activity_analyzer.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M components/browser_watcher/BUILD.gn View 3 chunks +18 lines, -0 lines 0 comments Download
M components/browser_watcher/DEPS View 1 chunk +1 line, -0 lines 2 comments Download
A components/browser_watcher/postmortem_report_collector.h View 1 2 1 chunk +93 lines, -0 lines 0 comments Download
A components/browser_watcher/postmortem_report_collector.cc View 1 2 3 1 chunk +199 lines, -0 lines 0 comments Download
A components/browser_watcher/postmortem_report_collector_unittest.cc View 1 2 3 1 chunk +417 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +17 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (9 generated)
manzagop (departed)
Here's the report collector, broken out of https://crrev.com/2128683002 . Please have a look!
4 years, 3 months ago (2016-09-14 16:06:36 UTC) #2
Sigurður Ásgeirsson
Nice - I didn't read through the tests in detail yet, but here are my ...
4 years, 3 months ago (2016-09-14 18:04:32 UTC) #3
manzagop (departed)
Thanks! Ready for another round. https://codereview.chromium.org/2339193003/diff/1/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2339193003/diff/1/components/browser_watcher/postmortem_report_collector.cc#newcode86 components/browser_watcher/postmortem_report_collector.cc:86: CrashReportDatabase::NewReport* new_report; On 2016/09/14 ...
4 years, 3 months ago (2016-09-15 15:07:38 UTC) #4
Sigurður Ásgeirsson
LGTM with a couple of optional nits. https://codereview.chromium.org/2339193003/diff/1/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2339193003/diff/1/components/browser_watcher/postmortem_report_collector.h#newcode48 components/browser_watcher/postmortem_report_collector.h:48: private: On ...
4 years, 3 months ago (2016-09-15 18:44:11 UTC) #5
manzagop (departed)
Addressed comments. You may want to have another look as there were some non-trivial changes. ...
4 years, 3 months ago (2016-09-16 16:37:31 UTC) #6
manzagop (departed)
Hi Brian, Scott, I've broken out the report collector from https://crrev.com/2128683002 to this CL. Brian: ...
4 years, 3 months ago (2016-09-16 16:41:50 UTC) #8
Sigurður Ásgeirsson
lgtm https://codereview.chromium.org/2339193003/diff/20001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2339193003/diff/20001/components/browser_watcher/postmortem_report_collector.cc#newcode151 components/browser_watcher/postmortem_report_collector.cc:151: while (thread_analyzer) { On 2016/09/16 16:37:30, manzagop wrote: ...
4 years, 3 months ago (2016-09-16 17:01:03 UTC) #9
scottmg
Crashpad interaction lgtm. https://codereview.chromium.org/2339193003/diff/40001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2339193003/diff/40001/components/browser_watcher/postmortem_report_collector.cc#newcode136 components/browser_watcher/postmortem_report_collector.cc:136: database_status = report_database->FinishedWritingCrashReport( It'll take up ...
4 years, 3 months ago (2016-09-16 17:07:45 UTC) #10
bcwhite
LGTM for ActivityTracker interface.
4 years, 3 months ago (2016-09-16 17:57:15 UTC) #11
manzagop (departed)
Thanks for the reviews! https://codereview.chromium.org/2339193003/diff/20001/components/browser_watcher/postmortem_report_collector.cc File components/browser_watcher/postmortem_report_collector.cc (right): https://codereview.chromium.org/2339193003/diff/20001/components/browser_watcher/postmortem_report_collector.cc#newcode151 components/browser_watcher/postmortem_report_collector.cc:151: while (thread_analyzer) { On 2016/09/16 ...
4 years, 3 months ago (2016-09-16 18:06:42 UTC) #12
manzagop (departed)
Hi Rob, Scott, I'm looking for an OWNERS' review: - Rob: for the histograms.xml change ...
4 years, 3 months ago (2016-09-16 18:14:05 UTC) #14
sky
LGTM https://codereview.chromium.org/2339193003/diff/60001/components/browser_watcher/DEPS File components/browser_watcher/DEPS (right): https://codereview.chromium.org/2339193003/diff/60001/components/browser_watcher/DEPS#newcode3 components/browser_watcher/DEPS:3: "+components/version_info", version_info depends upon ui/base. So, this changes ...
4 years, 3 months ago (2016-09-16 21:23:38 UTC) #17
gayane -on leave until 09-2017
lgtm
4 years, 3 months ago (2016-09-19 20:58:08 UTC) #18
manzagop (departed)
Thanks for the review! Friendly ping Rob for tools/metrics OWNERS. Thanks! https://codereview.chromium.org/2339193003/diff/60001/components/browser_watcher/DEPS File components/browser_watcher/DEPS (right): ...
4 years, 3 months ago (2016-09-19 21:13:25 UTC) #19
rkaplow
lgtm
4 years, 3 months ago (2016-09-19 21:14:31 UTC) #20
manzagop (departed)
On 2016/09/19 21:14:31, rkaplow wrote: > lgtm Thanks!
4 years, 3 months ago (2016-09-19 21:15:29 UTC) #21
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/2339193003/60001
4 years, 3 months ago (2016-09-19 21:16:28 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-19 22:31:28 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 22:33:32 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/49e10c6d112f14337814ed9c844031987925fc7a
Cr-Commit-Position: refs/heads/master@{#419593}

Powered by Google App Engine
This is Rietveld 408576698