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

Issue 7538036: Windows Breakpad: Allow the crash dump dir and pipe name to be overridden (Closed)

Created:
9 years, 4 months ago by Mark Seaborn
Modified:
9 years, 4 months ago
CC:
chromium-reviews, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Windows Breakpad: Allow the crash dump dir and pipe name to be overridden Change crash_service.exe so that the named pipe it listens on (normally global) and the directory it writes to (normally per-user) can both be overridden via command line options. Similarly, add an environment variable to Chromium for connecting to crash_service.exe via a non-default named pipe. This will allow automated tests of Chromium's Breakpad crash reporting to be more robust. A test runner can use a temp dir for crashes and a temporary named pipe, so that it does not have to worry about pre-existing instances of crash_service.exe or pre-existing dump files. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2006 TEST=inbrowser_crash_test in the NaCl tree, with the change http://codereview.chromium.org/7569002 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95714

Patch Set 1 #

Patch Set 2 : Fix upload #

Patch Set 3 : Fix upload #

Total comments: 1

Patch Set 4 : Use GetEnvironmentVariableW() instead of getenv() #

Patch Set 5 : Fix to use W version of GetEnvironmentVariable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -7 lines) Patch
M chrome/app/breakpad_win.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M chrome/tools/crash_service/crash_service.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/tools/crash_service/crash_service.cc View 1 3 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mark Seaborn
Hi Carlos, I'm guessing you'd be a good reviewer for Windows Breakpad changes.
9 years, 4 months ago (2011-08-03 18:30:16 UTC) #1
cpu_(ooo_6.6-7.5)
lgtm http://codereview.chromium.org/7538036/diff/3001/chrome/app/breakpad_win.cc File chrome/app/breakpad_win.cc (right): http://codereview.chromium.org/7538036/diff/3001/chrome/app/breakpad_win.cc#newcode523 chrome/app/breakpad_win.cc:523: if (env_var != NULL) { please use GetEnvironmentVariable() ...
9 years, 4 months ago (2011-08-03 22:38:48 UTC) #2
Mark Seaborn
On 3 August 2011 15:38, <cpu@chromium.org> wrote: > lgtm > > > http://codereview.chromium.**org/7538036/diff/3001/chrome/** > app/breakpad_win.cc<http://codereview.chromium.org/7538036/diff/3001/chrome/app/breakpad_win.cc> ...
9 years, 4 months ago (2011-08-04 00:31:51 UTC) #3
cpu_(ooo_6.6-7.5)
On 2011/08/04 00:31:51, Mark Seaborn wrote: > On 3 August 2011 15:38, <mailto:cpu@chromium.org> wrote: > ...
9 years, 4 months ago (2011-08-05 19:56:02 UTC) #4
cpu_(ooo_6.6-7.5)
lgtm
9 years, 4 months ago (2011-08-06 00:48:57 UTC) #5
commit-bot: I haz the power
9 years, 4 months ago (2011-08-06 01:54:47 UTC) #6
Change committed as 95714

Powered by Google App Engine
This is Rietveld 408576698