Rename autoUpload to shouldUpload
This commit is contained in:
parent
774b2f99f2
commit
7b8eb3e09c
11 changed files with 51 additions and 18 deletions
|
@ -26,13 +26,13 @@ void CrashReporter::Start(const std::string& product_name,
|
|||
const std::string& company_name,
|
||||
const std::string& submit_url,
|
||||
const base::FilePath& crashes_dir,
|
||||
bool auto_submit,
|
||||
bool should_upload,
|
||||
bool skip_system_crash_handler,
|
||||
const StringMap& extra_parameters) {
|
||||
SetUploadParameters(extra_parameters);
|
||||
|
||||
InitBreakpad(product_name, ATOM_VERSION_STRING, company_name, submit_url,
|
||||
crashes_dir, auto_submit, skip_system_crash_handler);
|
||||
crashes_dir, should_upload, skip_system_crash_handler);
|
||||
}
|
||||
|
||||
void CrashReporter::SetUploadParameters(const StringMap& parameters) {
|
||||
|
@ -43,6 +43,10 @@ void CrashReporter::SetUploadParameters(const StringMap& parameters) {
|
|||
SetUploadParameters();
|
||||
}
|
||||
|
||||
void CrashReporter::SetShouldUpload(const bool should_upload) {
|
||||
|
||||
}
|
||||
|
||||
std::vector<CrashReporter::UploadReportResult>
|
||||
CrashReporter::GetUploadedReports(const base::FilePath& crashes_dir) {
|
||||
std::string file_content;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue