Follow-up to #26: get rid of supplier_data, it's not really needed since

the caller can implement their own supplier object. r=mmentovai.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@27 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
bryner
2006-09-20 00:00:12 +00:00
parent cce3492afc
commit 0170bea32f
9 changed files with 16 additions and 43 deletions

View File

@@ -32,10 +32,8 @@ class MinidumpProcessor {
~MinidumpProcessor();
// Fills in the given StackFrames vector by processing the minidump file.
// supplier_data is an opaque pointer which is passed to
// SymbolSupplier::GetSymbolFile(). Returns true on success.
bool Process(const string &minidump_file, void *supplier_data,
StackFrames *stack_frames);
// Returns true on success.
bool Process(const string &minidump_file, StackFrames *stack_frames);
private:
SymbolSupplier *supplier_;

View File

@@ -30,9 +30,7 @@ class SymbolSupplier {
virtual ~SymbolSupplier() {}
// Returns the path to the symbol file for the given module.
// supplier_data is passed through from MinidumpProcessor::Process().
virtual string GetSymbolFile(MinidumpModule *module,
void *supplier_data) = 0;
virtual string GetSymbolFile(MinidumpModule *module) = 0;
};
} // namespace google_airbag