Use FilePath for crash reporter temp directory

This commit is contained in:
Kevin Sawicki 2016-10-05 16:40:19 -07:00
parent 883c4b63d0
commit 9d1d1f21e9
8 changed files with 27 additions and 26 deletions

View file

@ -25,17 +25,17 @@ class CrashReporter {
void Start(const std::string& product_name,
const std::string& company_name,
const std::string& submit_url,
const std::string& temp_dir,
const base::FilePath& temp_path,
bool auto_submit,
bool skip_system_crash_handler,
const StringMap& extra_parameters);
virtual std::vector<CrashReporter::UploadReportResult> GetUploadedReports(
const std::string& product_name,
const std::string& temp_dir);
const base::FilePath& temp_path);
base::FilePath GetCrashesDirectory(const std::string& product_name,
const std::string& temp_dir);
const base::FilePath& temp_path);
protected:
CrashReporter();
@ -45,7 +45,7 @@ class CrashReporter {
const std::string& version,
const std::string& company_name,
const std::string& submit_url,
const std::string& temp_dir,
const base::FilePath& temp_path,
bool auto_submit,
bool skip_system_crash_handler);
virtual void SetUploadParameters();