Chromium Code Reviews| Index: components/crash/content/app/crashpad.h |
| diff --git a/components/crash/content/app/crashpad.h b/components/crash/content/app/crashpad.h |
| index ae27e7cf007753256560c0a9d3984c2f66360696..2649d103ae8d15acb3ff8e9df79bed6024f83a0f 100644 |
| --- a/components/crash/content/app/crashpad.h |
| +++ b/components/crash/content/app/crashpad.h |
| @@ -69,11 +69,7 @@ void SetUploadConsent(bool consent); |
| // available in the browser process. |
| bool GetUploadsEnabled(); |
| -enum class ReportUploadState { |
| - NotUploaded, |
| - Pending, |
| - Uploaded, |
| -}; |
| +enum class ReportUploadState { NotUploaded, Pending, Uploaded, UserRequested }; |
|
Mark Mentovai
2016/08/25 20:25:11
Pending_UserExplicitlyRequested
This isn’t persis
gayane -on leave until 09-2017
2016/08/26 00:12:55
Done.
|
| struct Report { |
| std::string local_id; |
| @@ -90,6 +86,9 @@ struct Report { |
| // reports first). |
| void GetReports(std::vector<Report>* reports); |
| +// Requests a user triggered upload for a crash report with a given id. |
| +void RequestSingleCrashUpload(const std::string& local_id); |
| + |
| namespace internal { |
| #if defined(OS_WIN) |