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

Issue 1368703002: Use a class instead of several separate globals in crash_logging.cc. (Closed)

Created:
5 years, 3 months ago by Robert Sesek
Modified:
5 years, 2 months ago
Reviewers:
danakj
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a class instead of several separate globals in crash_logging.cc. There should be no behavior change; this is just refactoring. Committed: https://crrev.com/5e57bcecf023ec05c9c2343b2b636f3d7e0cf1f1 Cr-Commit-Position: refs/heads/master@{#350701}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -79 lines) Patch
M base/debug/crash_logging.h View 1 chunk +0 lines, -3 lines 0 comments Download
M base/debug/crash_logging.cc View 1 2 4 chunks +117 lines, -71 lines 0 comments Download
M base/debug/crash_logging_unittest.cc View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/common/crash_keys_unittest.cc View 1 2 3 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
Robert Sesek
danakj: Please review some perfcrastination-induced refactoring :-)
5 years, 3 months ago (2015-09-24 20:44:50 UTC) #3
danakj
https://codereview.chromium.org/1368703002/diff/40001/base/debug/crash_logging.cc File base/debug/crash_logging.cc (right): https://codereview.chromium.org/1368703002/diff/40001/base/debug/crash_logging.cc#newcode76 base/debug/crash_logging.cc:76: return std::ceil(length / static_cast<float>(chunk_max_length_)); This is kinda less good ...
5 years, 3 months ago (2015-09-24 21:06:47 UTC) #4
danakj
LG otherwise https://codereview.chromium.org/1368703002/diff/40001/base/debug/crash_logging_unittest.cc File base/debug/crash_logging_unittest.cc (right): https://codereview.chromium.org/1368703002/diff/40001/base/debug/crash_logging_unittest.cc#newcode44 base/debug/crash_logging_unittest.cc:44: base::ShadowingAtExitManager at_exit_manager_; Can you leave a comment ...
5 years, 3 months ago (2015-09-24 21:08:36 UTC) #5
Robert Sesek
https://codereview.chromium.org/1368703002/diff/40001/base/debug/crash_logging.cc File base/debug/crash_logging.cc (right): https://codereview.chromium.org/1368703002/diff/40001/base/debug/crash_logging.cc#newcode76 base/debug/crash_logging.cc:76: return std::ceil(length / static_cast<float>(chunk_max_length_)); On 2015/09/24 21:06:47, danakj wrote: ...
5 years, 3 months ago (2015-09-24 21:28:20 UTC) #6
danakj
LGTM
5 years, 3 months ago (2015-09-24 21:49:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368703002/60001
5 years, 3 months ago (2015-09-24 21:51:37 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 2 months ago (2015-09-24 23:30:58 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5e57bcecf023ec05c9c2343b2b636f3d7e0cf1f1 Cr-Commit-Position: refs/heads/master@{#350701}
5 years, 2 months ago (2015-09-24 23:35:03 UTC) #11
zhaoqin1
5 years, 2 months ago (2015-09-25 15:14:28 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.chromium.org/1360943004/ by zhaoqin@chromium.org.

The reason for reverting is: This CL is the culprit of an uninit read and
several test crash on Valgrind bots.

BUG=535990
.

Powered by Google App Engine
This is Rietveld 408576698