DescriptionMake crash reporting client_id accessible through child_process_logging.
On Mac and Linux, keep the client id in a global variable kept by the
child_process_logging implementations. This allows to read it in a
thread safe fashion when starting a child process.
Also replace std::string with statically allocated buffers for the
various items we add to the crash reports. This allows to properly
handle crashes upon shutdown (std::string would run its destructor,
invalidating the memory).
BUG=53231
TEST=Crash reporting should still work
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57497
Patch Set 1 #
Total comments: 17
Patch Set 2 : Address feedback. #Patch Set 3 : strlcpy is what we want :) #Patch Set 4 : switch mac g_client_id back to char[] #
Total comments: 4
Patch Set 5 : address mark's feedback #
Messages
Total messages: 13 (0 generated)
|