From af3c43f00e98047bc7f80dcf4c16b876e095769f Mon Sep 17 00:00:00 2001 From: mmentovai Date: Thu, 17 May 2007 18:34:37 +0000 Subject: Add logging to minidump processor (#82). First part: logging infrastructure and messages for minidump.cc and minidump_processor.cc. r=bryner. http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/b056994d675f623c git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@169 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/google_breakpad/processor/minidump_processor.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/google_breakpad') diff --git a/src/google_breakpad/processor/minidump_processor.h b/src/google_breakpad/processor/minidump_processor.h index 9c53ed74..9e7ea191 100644 --- a/src/google_breakpad/processor/minidump_processor.h +++ b/src/google_breakpad/processor/minidump_processor.h @@ -63,13 +63,15 @@ class MinidumpProcessor { // Populates the cpu_* fields of the |info| parameter with textual // representations of the CPU type that the minidump in |dump| was - // produced on. - static void GetCPUInfo(Minidump *dump, SystemInfo *info); + // produced on. Returns false if this information is not available in + // the minidump. + static bool GetCPUInfo(Minidump *dump, SystemInfo *info); // Populates the os_* fields of the |info| parameter with textual // representations of the operating system that the minidump in |dump| - // was produced on. - static void GetOSInfo(Minidump *dump, SystemInfo *info); + // was produced on. Returns false if this information is not available in + // the minidump. + static bool GetOSInfo(Minidump *dump, SystemInfo *info); // Returns a textual representation of the reason that a crash occurred, // if the minidump in dump was produced as a result of a crash. Returns -- cgit v1.2.1