Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: components/crash/content/app/crashpad.h

Issue 2268783002: Manual crash uploads for mac and win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: policy restrictions + show crashes when crash uploads disabled Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698