first attempt to add new GetParameters method to CrashReporter
This commit is contained in:
parent
cd19d7c705
commit
a9c13359dc
4 changed files with 16 additions and 6 deletions
|
@ -83,14 +83,15 @@ void CrashReporter::InitBreakpad(const std::string& product_name,
|
|||
bool skip_system_crash_handler) {
|
||||
}
|
||||
|
||||
void CrashReporter::SetUploadParameters() {
|
||||
}
|
||||
void CrashReporter::SetUploadParameters() {}
|
||||
|
||||
void CrashReporter::SetExtraParameter(const std::string& key,
|
||||
const std::string& value) {
|
||||
}
|
||||
const std::string& value) {}
|
||||
|
||||
void CrashReporter::RemoveExtraParameter(const std::string& key) {
|
||||
void CrashReporter::RemoveExtraParameter(const std::string& key) {}
|
||||
|
||||
StringMap CrashReporter::GetParameters() {
|
||||
return upload_parameters_;
|
||||
}
|
||||
|
||||
#if defined(OS_MACOSX) && defined(MAS_BUILD)
|
||||
|
|
|
@ -40,6 +40,7 @@ class CrashReporter {
|
|||
virtual void SetExtraParameter(const std::string& key,
|
||||
const std::string& value);
|
||||
virtual void RemoveExtraParameter(const std::string& key);
|
||||
virtual CrashReporter::StringMap GetParameters();
|
||||
|
||||
protected:
|
||||
CrashReporter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue