aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad/processor/minidump_processor.h
diff options
context:
space:
mode:
authormmandlis@chromium.org <mmandlis@chromium.org>2014-09-08 19:10:42 +0000
committermmandlis@chromium.org <mmandlis@chromium.org>2014-09-08 19:10:42 +0000
commit54c2560a82ec0a1c48c087c78b802e72a5459c53 (patch)
tree06072374c2b108f42e6daf9c047bfc65e0e1f01b /src/google_breakpad/processor/minidump_processor.h
parentBack out trunk r1367. (diff)
downloadbreakpad-54c2560a82ec0a1c48c087c78b802e72a5459c53.tar.xz
Refactoring in preparation for microdump processing
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1370 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_breakpad/processor/minidump_processor.h')
-rw-r--r--src/google_breakpad/processor/minidump_processor.h36
1 files changed, 1 insertions, 35 deletions
diff --git a/src/google_breakpad/processor/minidump_processor.h b/src/google_breakpad/processor/minidump_processor.h
index 33cd0206..20277f9a 100644
--- a/src/google_breakpad/processor/minidump_processor.h
+++ b/src/google_breakpad/processor/minidump_processor.h
@@ -35,6 +35,7 @@
#include "common/using_std_string.h"
#include "google_breakpad/common/breakpad_types.h"
+#include "google_breakpad/processor/process_result.h"
namespace google_breakpad {
@@ -44,41 +45,6 @@ class StackFrameSymbolizer;
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: