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

Issue 2722223002: Separate collection logic from the extraction of the report (Closed)

Created:
3 years, 9 months ago by manzagop (departed)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, bcwhite
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate collection logic from the extraction of the report Separate collection logic (identifying files, registering reports with crashpad, calling the minidump writer) from the actual extraction of the report proto from disk. BUG=691595 Review-Url: https://codereview.chromium.org/2722223002 Cr-Commit-Position: refs/heads/master@{#455232} Committed: https://chromium.googlesource.com/chromium/src/+/6d901940e770f2494539d0bf177ae6cd027a8b19

Patch Set 1 #

Total comments: 4

Patch Set 2 : impl -> extractor #

Patch Set 3 : Add a TODO #

Total comments: 7

Patch Set 4 : Address Siggi's comments #

Total comments: 2

Patch Set 5 : Merge #

Patch Set 6 : Address Siggi's comment #

Patch Set 7 : Relocate CollectThread in file #

Total comments: 4

Patch Set 8 : Merge #

Patch Set 9 : Address Siggi's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -323 lines) Patch
M components/browser_watcher/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -23 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector.cc View 1 2 3 4 10 chunks +19 lines, -242 lines 0 comments Download
M components/browser_watcher/postmortem_report_collector_unittest.cc View 1 11 chunks +37 lines, -58 lines 0 comments Download
A components/browser_watcher/postmortem_report_extractor.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A components/browser_watcher/postmortem_report_extractor.cc View 1 2 3 4 5 6 7 8 1 chunk +249 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (26 generated)
manzagop (departed)
Hi! Could you have a look? This is shuffling code. Thanks! Pierre
3 years, 9 months ago (2017-03-01 17:14:45 UTC) #6
Sigurður Ásgeirsson
https://codereview.chromium.org/2722223002/diff/20001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/20001/components/browser_watcher/postmortem_report_collector.h#newcode24 components/browser_watcher/postmortem_report_collector.h:24: #include "components/browser_watcher/postmortem_report_collector_impl.h" like we discussed, the thing you're extracting ...
3 years, 9 months ago (2017-03-01 20:50:31 UTC) #9
manzagop (departed)
I've renamed the file. https://codereview.chromium.org/2722223002/diff/20001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/20001/components/browser_watcher/postmortem_report_collector.h#newcode24 components/browser_watcher/postmortem_report_collector.h:24: #include "components/browser_watcher/postmortem_report_collector_impl.h" On 2017/03/01 20:50:30, ...
3 years, 9 months ago (2017-03-01 21:49:54 UTC) #11
Sigurður Ásgeirsson
On Wed, Mar 1, 2017 at 4:49 PM <manzagop@chromium.org> wrote: > I've renamed the file. ...
3 years, 9 months ago (2017-03-01 22:41:40 UTC) #17
manzagop (departed)
> > > Also, maybe you want to pass in the Analyzer, rather than a ...
3 years, 9 months ago (2017-03-06 14:54:19 UTC) #19
Sigurður Ásgeirsson
A couple of moar nits. https://codereview.chromium.org/2722223002/diff/60001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/60001/components/browser_watcher/postmortem_report_collector.h#newcode32 components/browser_watcher/postmortem_report_collector.h:32: // crash report with ...
3 years, 9 months ago (2017-03-06 19:17:11 UTC) #20
manzagop (departed)
Thanks! Another look? https://codereview.chromium.org/2722223002/diff/60001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/60001/components/browser_watcher/postmortem_report_collector.h#newcode32 components/browser_watcher/postmortem_report_collector.h:32: // crash report with the crash ...
3 years, 9 months ago (2017-03-06 21:29:39 UTC) #21
Sigurður Ásgeirsson
https://codereview.chromium.org/2722223002/diff/60001/components/browser_watcher/postmortem_report_extractor.cc File components/browser_watcher/postmortem_report_extractor.cc (right): https://codereview.chromium.org/2722223002/diff/60001/components/browser_watcher/postmortem_report_extractor.cc#newcode127 components/browser_watcher/postmortem_report_extractor.cc:127: snprintf(code_identifier, sizeof(code_identifier), "%08X%zx", On 2017/03/06 21:29:39, manzagop wrote: > ...
3 years, 9 months ago (2017-03-07 14:46:02 UTC) #22
manzagop (departed)
Thanks! PTAL. https://codereview.chromium.org/2722223002/diff/80001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/80001/components/browser_watcher/postmortem_report_collector.h#newcode30 components/browser_watcher/postmortem_report_collector.h:30: // Handles postmortem report collection by establishing ...
3 years, 9 months ago (2017-03-07 16:14:22 UTC) #24
Sigurður Ásgeirsson
You have several DO NOT SUBMIT commends in there, do your really want me to ...
3 years, 9 months ago (2017-03-07 16:18:51 UTC) #26
manzagop (departed)
> You have several DO NOT SUBMIT commends in there, do your really want me ...
3 years, 9 months ago (2017-03-07 16:28:23 UTC) #29
Sigurður Ásgeirsson
So ready for review now? On Tue, Mar 7, 2017 at 11:28 AM <manzagop@chromium.org> wrote: ...
3 years, 9 months ago (2017-03-07 16:42:25 UTC) #32
manzagop (departed)
Yes, please! On Tue, Mar 7, 2017 at 11:42 AM, Sigurður Ásgeirsson <siggi@chromium.org> wrote: > ...
3 years, 9 months ago (2017-03-07 16:57:35 UTC) #33
Sigurður Ásgeirsson
lgtm - though I think you'll conflict with https://codereview.chromium.org/2715903003/. https://codereview.chromium.org/2722223002/diff/140001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/140001/components/browser_watcher/postmortem_report_collector.h#newcode32 components/browser_watcher/postmortem_report_collector.h:32: ...
3 years, 9 months ago (2017-03-07 18:45:03 UTC) #36
manzagop (departed)
Thanks for the review! Going ahead with submission. https://codereview.chromium.org/2722223002/diff/140001/components/browser_watcher/postmortem_report_collector.h File components/browser_watcher/postmortem_report_collector.h (right): https://codereview.chromium.org/2722223002/diff/140001/components/browser_watcher/postmortem_report_collector.h#newcode32 components/browser_watcher/postmortem_report_collector.h:32: // ...
3 years, 9 months ago (2017-03-07 19:39:55 UTC) #37
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/2722223002/180001
3 years, 9 months ago (2017-03-07 19:41:21 UTC) #40
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 21:54:33 UTC) #43
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/6d901940e770f2494539d0bf177a...

Powered by Google App Engine
This is Rietveld 408576698