mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-08 23:48:22 +01:00
Add an abstract interface to SourceLineResolver, and allow any implementation
to be used with MinidumpProcessor. The basic SourceLineResolver is now a public interface (#89) git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@83 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
65dbfcc15f
commit
fd38d48e6d
18 changed files with 252 additions and 157 deletions
|
|
@ -38,6 +38,7 @@ using std::string;
|
|||
|
||||
class Minidump;
|
||||
class ProcessState;
|
||||
class SourceLineResolverInterface;
|
||||
class SymbolSupplier;
|
||||
|
||||
class MinidumpProcessor {
|
||||
|
|
@ -51,7 +52,8 @@ class MinidumpProcessor {
|
|||
|
||||
// Initializes this MinidumpProcessor. supplier should be an
|
||||
// implementation of the SymbolSupplier abstract base class.
|
||||
explicit MinidumpProcessor(SymbolSupplier *supplier);
|
||||
MinidumpProcessor(SymbolSupplier *supplier,
|
||||
SourceLineResolverInterface *resolver);
|
||||
~MinidumpProcessor();
|
||||
|
||||
// Processes the minidump file and fills process_state with the result.
|
||||
|
|
@ -84,6 +86,7 @@ class MinidumpProcessor {
|
|||
|
||||
private:
|
||||
SymbolSupplier *supplier_;
|
||||
SourceLineResolverInterface *resolver_;
|
||||
};
|
||||
|
||||
} // namespace google_airbag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue