Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(30)

Issue 1074002: Refactor the Windows MinidumpGenerator interface to get rid of the overloads when generating dumps. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by Cris Neckar
Modified:
10 years, 7 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src/
Visibility:
Public.

Description

Refactor the Windows MinidumpGenerator interface to get rid of the overloads
when generating dumps.
All required params are now passed to the constructor and the various options
are set through new methods.

BUG=N/A
TEST=Existing minidump generation tests
R=mark@chromium.org

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1274

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/windows/crash_generation/crash_generation_server.cc View 2 chunks +14 lines, -14 lines 1 comment Download
M client/windows/crash_generation/crash_generation_server.h View 1 chunk +2 lines, -2 lines 0 comments Download
M client/windows/crash_generation/minidump_generator.cc View 10 chunks +147 lines, -178 lines 0 comments Download
M client/windows/crash_generation/minidump_generator.h View 1 2 chunks +87 lines, -54 lines 0 comments Download
M client/windows/unittests/minidump_test.cc View 1 chunk +12 lines, -12 lines 0 comments Download

Messages

Total messages: 7
Cris Neckar
10 years, 9 months ago #1
Mark Mentovai
LGTM Are APIs that are used in Chrome changing? If so, could you please roll ...
10 years, 9 months ago #2
Cris Neckar
On 2014/01/17 21:58:31, Mark Mentovai wrote: > LGTM > > Are APIs that are used ...
10 years, 9 months ago #3
Mark Mentovai
Excellent. LGTM, then. I thought I’d have suggestions, but as I read through the code, ...
10 years, 9 months ago #4
Cris Neckar
Committed patchset #2 manually as r1274 (presubmit successful).
10 years, 9 months ago #5
Cris Neckar
https://breakpad.appspot.com/1074002/diff/1/client/windows/crash_generation/minidump_generator.h File client/windows/crash_generation/minidump_generator.h (right): https://breakpad.appspot.com/1074002/diff/1/client/windows/crash_generation/minidump_generator.h#newcode47 client/windows/crash_generation/minidump_generator.h:47: // Creates an instance with the given dump path. ...
10 years, 9 months ago #6
Lei Zhang (chromium)
10 years, 7 months ago #7
Message was sent while issue was closed.
https://breakpad.appspot.com/1074002/diff/60001/client/windows/crash_generati...
File client/windows/crash_generation/crash_generation_server.cc (right):

https://breakpad.appspot.com/1074002/diff/60001/client/windows/crash_generati...
client/windows/crash_generation/crash_generation_server.cc:124:
dump_path_(*dump_path),
|dump_path| can be NULL, as seen by the fact that the old code checks for it.

BreakpadWinDeathTest.TestAccessViolation in remoting_unittests crashes here
with:

Backtrace:
	std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>
>::assign [0x00871CBE+14]
	google_breakpad::CrashGenerationServer::CrashGenerationServer [0x00F05A0B+203]
	remoting::BreakpadWinDeathTest::SetUp [0x0087401E+990]

I'll fix this...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted