first attempt to add new GetParameters method to CrashReporter

This commit is contained in:
Shelley Vohr 2017-10-31 13:06:54 -04:00
parent cd19d7c705
commit a9c13359dc
No known key found for this signature in database
GPG key ID: F13993A75599653C
4 changed files with 16 additions and 6 deletions

View file

@ -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)

View file

@ -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();