#include "common/using_std_string.h"
#include "google_breakpad/common/breakpad_types.h"
+#include "google_breakpad/processor/process_result.h"
namespace google_breakpad {
class SourceLineResolverInterface;
class SymbolSupplier;
struct SystemInfo;
-// Return type for Process()
-enum ProcessResult {
- PROCESS_OK, // The minidump was
- // processed
- // successfully.
-
- PROCESS_ERROR_MINIDUMP_NOT_FOUND, // The minidump file
- // was not found.
-
- PROCESS_ERROR_NO_MINIDUMP_HEADER, // The minidump file
- // had no header
-
- PROCESS_ERROR_NO_THREAD_LIST, // The minidump file
- // had no thread list.
-
- PROCESS_ERROR_GETTING_THREAD, // There was an error
- // getting one
- // thread's data from
- // the minidump.
-
- PROCESS_ERROR_GETTING_THREAD_ID, // There was an error
- // getting a thread id
- // from the thread's
- // data.
-
- PROCESS_ERROR_DUPLICATE_REQUESTING_THREADS, // There was more than
- // one requesting
- // thread.
-
- PROCESS_SYMBOL_SUPPLIER_INTERRUPTED // The minidump
- // processing was
- // interrupted by the
- // SymbolSupplier(not
- // fatal)
-};
class MinidumpProcessor {
public: