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

Issue 11761030: Create the crash key registration system and register some Mac-specific keys. (Closed)

Created:
7 years, 11 months ago by Robert Sesek
Modified:
7 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org
Visibility:
Public.

Description

Create the crash key registration system and register some Mac-specific keys. BUG=77656 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177015

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address easy comments #

Patch Set 3 : Init callback -> out param #

Total comments: 12

Patch Set 4 : Address comments #

Total comments: 14

Patch Set 5 : Address comments #

Total comments: 2

Patch Set 6 : '' #

Total comments: 4

Patch Set 7 : Remove CrashKey.max_length #

Patch Set 8 : arraysize compile #

Patch Set 9 : Android/Win compile #

Total comments: 10

Patch Set 10 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -9 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M base/debug/crash_logging.h View 1 2 3 4 5 6 2 chunks +32 lines, -0 lines 0 comments Download
M base/debug/crash_logging.cc View 1 2 3 4 5 6 7 8 9 4 chunks +108 lines, -4 lines 0 comments Download
A base/debug/crash_logging_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +175 lines, -0 lines 0 comments Download
M chrome/app/breakpad_mac.mm View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/common/crash_keys.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/crash_keys.cc View 1 2 3 4 5 6 7 8 9 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Robert Sesek
This is open to feedback regarding the CrashKey structure. I tried to combine your guys' ...
7 years, 11 months ago (2013-01-04 01:18:26 UTC) #1
Robert Sesek
Specifically, I'm internally debating the following: * Should a maximum value length be enforced at ...
7 years, 11 months ago (2013-01-04 17:17:17 UTC) #2
Scott Hess - ex-Googler
On 2013/01/04 17:17:17, rsesek wrote: > Specifically, I'm internally debating the following: > > * ...
7 years, 11 months ago (2013-01-04 18:59:38 UTC) #3
Robert Sesek
On 2013/01/04 18:59:38, shess wrote: > On 2013/01/04 17:17:17, rsesek wrote: > > Specifically, I'm ...
7 years, 11 months ago (2013-01-04 19:25:38 UTC) #4
Scott Hess - ex-Googler
On 2013/01/04 19:25:38, rsesek wrote: > OK. I think then maybe we should just specify ...
7 years, 11 months ago (2013-01-05 00:22:05 UTC) #5
Robert Sesek
On 2013/01/05 00:22:05, shess wrote: > On 2013/01/04 19:25:38, rsesek wrote: > > OK. I ...
7 years, 11 months ago (2013-01-05 05:12:21 UTC) #6
Robert Sesek
WDYT of this? I've removed the init callback and just have an out param for ...
7 years, 11 months ago (2013-01-07 17:14:35 UTC) #7
Scott Hess - ex-Googler
https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.cc File base/debug/crash_logging.cc (right): https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.cc#newcode64 base/debug/crash_logging.cc:64: // Handle the un-checked case. un-checked, or un-chunked? https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.cc#newcode70 ...
7 years, 11 months ago (2013-01-08 00:34:37 UTC) #8
Robert Sesek
https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.cc File base/debug/crash_logging.cc (right): https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.cc#newcode64 base/debug/crash_logging.cc:64: // Handle the un-checked case. On 2013/01/08 00:34:37, shess ...
7 years, 11 months ago (2013-01-08 00:56:22 UTC) #9
Scott Hess - ex-Googler
I'm going home, maybe my brain is not thinkie write. https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.h File base/debug/crash_logging.h (right): https://codereview.chromium.org/11761030/diff/8002/base/debug/crash_logging.h#newcode74 ...
7 years, 11 months ago (2013-01-08 01:06:05 UTC) #10
Robert Sesek
On 2013/01/08 01:06:05, shess wrote: > I'm going home, maybe my brain is not thinkie ...
7 years, 11 months ago (2013-01-08 15:49:15 UTC) #11
Robert Sesek
This may help clarify things: the initial (i.e. untested) attempt at the Windows impl: https://codereview.chromium.org/11776040
7 years, 11 months ago (2013-01-08 18:55:16 UTC) #12
Robert Sesek
ping! Trying to get this usable this week.
7 years, 11 months ago (2013-01-09 17:45:38 UTC) #13
Scott Hess - ex-Googler
On 2013/01/08 15:49:15, rsesek wrote: > I could see doing that. Something like TotalSizeNeededForKeys(const CrashKey* ...
7 years, 11 months ago (2013-01-09 22:34:19 UTC) #14
Robert Sesek
Thanks. Addressed all comments. Only outstanding issue is whether we should get rid of num_chunks, ...
7 years, 11 months ago (2013-01-09 23:06:29 UTC) #15
Scott Hess - ex-Googler
On 2013/01/09 23:06:29, rsesek wrote: > Thanks. Addressed all comments. Only outstanding issue is whether ...
7 years, 11 months ago (2013-01-09 23:40:18 UTC) #16
Robert Sesek
On 2013/01/09 23:40:18, shess wrote: > On 2013/01/09 23:06:29, rsesek wrote: > > Thanks. Addressed ...
7 years, 11 months ago (2013-01-10 16:52:50 UTC) #17
Scott Hess - ex-Googler
lgtm. https://codereview.chromium.org/11761030/diff/22002/base/debug/crash_logging_unittest.cc File base/debug/crash_logging_unittest.cc (right): https://codereview.chromium.org/11761030/diff/22002/base/debug/crash_logging_unittest.cc#newcode98 base/debug/crash_logging_unittest.cc:98: // Clear everything. Your call as to whether ...
7 years, 11 months ago (2013-01-10 18:43:54 UTC) #18
Robert Sesek
https://codereview.chromium.org/11761030/diff/22002/chrome/common/crash_keys.cc File chrome/common/crash_keys.cc (right): https://codereview.chromium.org/11761030/diff/22002/chrome/common/crash_keys.cc#newcode10 chrome/common/crash_keys.cc:10: static const size_t kSingleChunkLength = 255; On 2013/01/10 18:43:54, ...
7 years, 11 months ago (2013-01-10 19:46:56 UTC) #19
Scott Hess - ex-Googler
LGTM. Long-term, might keep in mind whether the chunking factor is bimodal. If it's only ...
7 years, 11 months ago (2013-01-10 20:16:28 UTC) #20
Robert Sesek
Thanks for all the feedback, Scott. +brettw for OWNERS
7 years, 11 months ago (2013-01-11 17:42:50 UTC) #21
Robert Sesek
brettw: ping
7 years, 11 months ago (2013-01-15 17:08:58 UTC) #22
Robert Sesek
Brett is MIA, so let's try Mark.
7 years, 11 months ago (2013-01-15 21:14:25 UTC) #23
brettw
LGTM rubberstamp based on scott's review. https://codereview.chromium.org/11761030/diff/41001/chrome/common/crash_keys.cc File chrome/common/crash_keys.cc (right): https://codereview.chromium.org/11761030/diff/41001/chrome/common/crash_keys.cc#newcode37 chrome/common/crash_keys.cc:37: // Crash Key ...
7 years, 11 months ago (2013-01-15 21:19:17 UTC) #24
Mark Mentovai
https://codereview.chromium.org/11761030/diff/41001/base/debug/crash_logging.cc File base/debug/crash_logging.cc (right): https://codereview.chromium.org/11761030/diff/41001/base/debug/crash_logging.cc#newcode19 base/debug/crash_logging.cc:19: std::map<base::StringPiece, CrashKey>* g_crash_keys_ = NULL; Typedef for this type, ...
7 years, 11 months ago (2013-01-15 21:31:03 UTC) #25
Robert Sesek
https://codereview.chromium.org/11761030/diff/41001/base/debug/crash_logging.cc File base/debug/crash_logging.cc (right): https://codereview.chromium.org/11761030/diff/41001/base/debug/crash_logging.cc#newcode19 base/debug/crash_logging.cc:19: std::map<base::StringPiece, CrashKey>* g_crash_keys_ = NULL; On 2013/01/15 21:31:03, Mark ...
7 years, 11 months ago (2013-01-15 21:40:50 UTC) #26
Mark Mentovai
LGTM
7 years, 11 months ago (2013-01-15 21:44:22 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/11761030/42002
7 years, 11 months ago (2013-01-15 21:47:36 UTC) #28
commit-bot: I haz the power
7 years, 11 months ago (2013-01-15 23:51:25 UTC) #29
Message was sent while issue was closed.
Change committed as 177015

Powered by Google App Engine
This is Rietveld 408576698