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

Issue 7849011: Refactor Mac crash key reporting - move to base/mac/crash_logging.{h,mm} (Closed)

Created:
9 years, 3 months ago by jeremy
Modified:
9 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Refactor Mac crash key reporting - move to base/mac/crash_logging.{h,mm} Breakpad support currently resides in chrome/app/breakpad_mac.* this makes it inaccessible to lower level code that would also like to set crash keys e.g. The sandboxing infrastructure. This CL refactors the crash key reporting code to reside in base/mac. Logging is also added to the Sandbox code to try to track down the cause of crbug.com/94758. BUG=95272, 94758 TEST=On official builds crash logs should contain crash keys e.g. OS version. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100626

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -128 lines) Patch
M base/base.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
A base/mac/crash_logging.h View 1 chunk +49 lines, -0 lines 0 comments Download
A base/mac/crash_logging.mm View 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/app/breakpad_mac.h View 1 chunk +0 lines, -24 lines 0 comments Download
M chrome/app/breakpad_mac.mm View 3 chunks +22 lines, -32 lines 0 comments Download
M chrome/app/breakpad_mac_stubs.mm View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/chrome_browser_application_mac.mm View 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/objc_zombie.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/child_process_logging.h View 2 chunks +7 lines, -11 lines 0 comments Download
M chrome/common/child_process_logging_mac.mm View 1 8 chunks +13 lines, -23 lines 0 comments Download
M chrome/common/child_process_logging_mac_unittest.mm View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/mac/DEPS View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/mac/objc_zombie.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/sandbox_mac.mm View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jeremy
I've verified that crash keys are still uploaded in the official build.
9 years, 3 months ago (2011-09-08 09:16:48 UTC) #1
jeremy
Shess: Can you please review. Brett: owner rubberstamp OK.
9 years, 3 months ago (2011-09-08 09:19:56 UTC) #2
Scott Hess - ex-Googler
This is great! LGTM, minor nits to address. I'm thinking a useful next step would ...
9 years, 3 months ago (2011-09-08 19:46:46 UTC) #3
brettw
LGTM rubberstamp
9 years, 3 months ago (2011-09-08 19:50:51 UTC) #4
commit-bot: I haz the power
9 years, 3 months ago (2011-09-11 11:29:50 UTC) #5
Change committed as 100626

Powered by Google App Engine
This is Rietveld 408576698