Implement crash-reporter.getUploadedReports API.

Also redefine the getLastCrashReport API implementation using
getUploadedReports API.
This commit is contained in:
Haojian Wu 2015-06-05 18:50:52 +08:00
parent 129159c895
commit c821a06e2f
5 changed files with 50 additions and 33 deletions

View file

@ -28,7 +28,8 @@ class CrashReporter {
bool skip_system_crash_handler,
const StringMap& extra_parameters);
virtual std::vector<CrashReporter::UploadReportResult> GetUploadedReports();
virtual std::vector<CrashReporter::UploadReportResult> GetUploadedReports(
const std::string& path);
protected:
CrashReporter();