| Index: base/logging.h
|
| diff --git a/base/logging.h b/base/logging.h
|
| index 714545c02bb06ac7f1b31e8a007b671e6dc11d6d..7f87de364a26de04a03c6b0f4bc1a6e571f8341a 100644
|
| --- a/base/logging.h
|
| +++ b/base/logging.h
|
| @@ -288,6 +288,11 @@ typedef bool (*LogMessageHandlerFunction)(int severity,
|
| BASE_EXPORT void SetLogMessageHandler(LogMessageHandlerFunction handler);
|
| BASE_EXPORT LogMessageHandlerFunction GetLogMessageHandler();
|
|
|
| +// Sets the Crash Message Handler that gets passed a fatal log message before
|
| +// the process crashes.
|
| +typedef void (*CrashMessageHandlerFunction)(const std::string& message);
|
| +BASE_EXPORT void SetCrashMessageHandler(CrashMessageHandlerFunction handler);
|
| +
|
| typedef int LogSeverity;
|
| const LogSeverity LOG_VERBOSE = -1; // This is level 1 verbosity
|
| // Note: the log severities are used to index into the array of names,
|
|
|