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

Unified Diff: third_party/crashpad/crashpad/client/crash_report_database.h

Issue 2372593004: Update Crashpad to ac6c01b5752ecb1aa1da0ea613740cf6825bb72e (Closed)
Patch Set: . Created 4 years, 3 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: third_party/crashpad/crashpad/client/crash_report_database.h
diff --git a/third_party/crashpad/crashpad/client/crash_report_database.h b/third_party/crashpad/crashpad/client/crash_report_database.h
index 7fef8a2ec89d1c2c9a6d55dd2de9e85601266a5f..3768cb2335d8d4b151cd1a7493ec964d0041425f 100644
--- a/third_party/crashpad/crashpad/client/crash_report_database.h
+++ b/third_party/crashpad/crashpad/client/crash_report_database.h
@@ -24,6 +24,7 @@
#include "base/files/file_path.h"
#include "base/macros.h"
#include "util/file/file_io.h"
+#include "util/misc/metrics.h"
#include "util/misc/uuid.h"
namespace crashpad {
@@ -326,9 +327,13 @@ class CrashReportDatabase {
//! crash generation is still enabled in the product.
//!
//! \param[in] uuid The unique identifier for the crash report record.
+ //! \param[in] reason The reason the report upload is being skipped for
+ //! metrics tracking purposes.
//!
//! \return The operation status code.
- virtual OperationStatus SkipReportUpload(const UUID& uuid) = 0;
+ virtual OperationStatus SkipReportUpload(
+ const UUID& uuid,
+ Metrics::CrashSkippedReason reason) = 0;
//! \brief Deletes a crash report file and its associated metadata.
//!
« no previous file with comments | « third_party/crashpad/README.chromium ('k') | third_party/crashpad/crashpad/client/crash_report_database_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698