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

Issue 2242833003: Add the most recent crash report IDs to feedback reports (Closed)

Created:
4 years, 4 months ago by afakhry
Modified:
4 years, 3 months ago
Reviewers:
Rahul Chaturvedi, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the most recent crash report IDs to feedback reports Adds the IDs of crashes that occurred within the last hour before sending the feedback report, making sure that these IDs don't end up in the system_logs.txt file for privacy reasons. BUG=613606 Committed: https://crrev.com/f376884e2dff8960d6683c63abb490e4ee080d20 Cr-Commit-Position: refs/heads/master@{#418351}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : RFR #

Total comments: 7

Patch Set 4 : Rahul's comments #

Total comments: 4

Patch Set 5 : Nits #

Total comments: 2

Patch Set 6 : revert back to a const rather than a constexpr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -21 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/feedback/system_logs/log_sources/crash_ids_source.h View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc View 1 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/browser/feedback/system_logs/scrubbed_system_logs_fetcher.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M components/feedback/feedback_common.cc View 1 2 3 4 chunks +17 lines, -10 lines 0 comments Download
M components/feedback/feedback_report.h View 1 2 3 5 2 chunks +9 lines, -5 lines 0 comments Download
M components/feedback/feedback_report.cc View 1 2 3 4 5 2 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (21 generated)
afakhry
Rahul, Please take a look. Thanks!
4 years, 3 months ago (2016-09-07 23:20:03 UTC) #5
Rahul Chaturvedi
First pass. https://codereview.chromium.org/2242833003/diff/40001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc File chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc (right): https://codereview.chromium.org/2242833003/diff/40001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc#newcode30 chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc:30: crash_upload_list_(CreateCrashUploadList(this)), What happens if the system logs ...
4 years, 3 months ago (2016-09-08 19:58:24 UTC) #8
afakhry
https://codereview.chromium.org/2242833003/diff/40001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc File chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc (right): https://codereview.chromium.org/2242833003/diff/40001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc#newcode30 chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc:30: crash_upload_list_(CreateCrashUploadList(this)), On 2016/09/08 19:58:24, Rahul Chaturvedi wrote: > What ...
4 years, 3 months ago (2016-09-09 22:20:10 UTC) #9
Rahul Chaturvedi
lgtm % nits https://codereview.chromium.org/2242833003/diff/40001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc File chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc (right): https://codereview.chromium.org/2242833003/diff/40001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc#newcode30 chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc:30: crash_upload_list_(CreateCrashUploadList(this)), On 2016/09/09 22:20:10, afakhry wrote: ...
4 years, 3 months ago (2016-09-12 22:31:21 UTC) #10
afakhry
Thanks, Rahul! thestig for BUILD.gn https://codereview.chromium.org/2242833003/diff/60001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc File chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc (right): https://codereview.chromium.org/2242833003/diff/60001/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc#newcode53 chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc:53: crash_ids_list_.reserve(kMaxCrashesCountToRetrieve); On 2016/09/12 22:31:21, ...
4 years, 3 months ago (2016-09-13 16:59:46 UTC) #14
afakhry
thestig is OOO. sky@ for BUILD.gn
4 years, 3 months ago (2016-09-13 17:01:08 UTC) #17
afakhry
https://codereview.chromium.org/2242833003/diff/80001/components/feedback/feedback_report.h File components/feedback/feedback_report.h (right): https://codereview.chromium.org/2242833003/diff/80001/components/feedback/feedback_report.h#newcode36 components/feedback/feedback_report.h:36: static constexpr char kCrashReportIdsKey[] = "crash_report_ids"; This would still ...
4 years, 3 months ago (2016-09-13 17:46:37 UTC) #20
Rahul Chaturvedi
https://codereview.chromium.org/2242833003/diff/80001/components/feedback/feedback_report.h File components/feedback/feedback_report.h (right): https://codereview.chromium.org/2242833003/diff/80001/components/feedback/feedback_report.h#newcode36 components/feedback/feedback_report.h:36: static constexpr char kCrashReportIdsKey[] = "crash_report_ids"; On 2016/09/13 17:46:37, ...
4 years, 3 months ago (2016-09-13 18:02:55 UTC) #21
sky
BUILD.gn LGTM
4 years, 3 months ago (2016-09-13 20:00:35 UTC) #26
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/2242833003/100001
4 years, 3 months ago (2016-09-13 20:29:07 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-13 20:34:52 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 20:37:21 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f376884e2dff8960d6683c63abb490e4ee080d20
Cr-Commit-Position: refs/heads/master@{#418351}

Powered by Google App Engine
This is Rietveld 408576698