Provide a mechanism for SymbolSuppliers to interrupt processing (#93)

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@80 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
bryner
2006-12-08 04:13:51 +00:00
parent 283fd39248
commit f33b8d2d07
13 changed files with 174 additions and 96 deletions

View File

@@ -92,13 +92,15 @@ class SimpleSymbolSupplier : public SymbolSupplier {
// Returns the path to the symbol file for the given module. See the
// description above.
virtual string GetSymbolFile(const CodeModule *module) {
return GetSymbolFileAtPath(module, path_);
virtual SymbolResult GetSymbolFile(const CodeModule *module,
string *symbol_file) {
return GetSymbolFileAtPath(module, path_, symbol_file);
}
protected:
string GetSymbolFileAtPath(const CodeModule *module,
const string &root_path);
SymbolResult GetSymbolFileAtPath(const CodeModule *module,
const string &root_path,
string *symbol_file);
private:
string path_;