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

Unified Diff: client/crash_report_database.h

Issue 1392653002: Add functionality to prune old crash reports from the database. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « client/client_test.gyp ('k') | client/crash_report_database_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/crash_report_database.h
diff --git a/client/crash_report_database.h b/client/crash_report_database.h
index baf95adcd335fce906b4c5b0f312210c561a11ed..1073d053debd02d988288e1efecf25c193594771 100644
--- a/client/crash_report_database.h
+++ b/client/crash_report_database.h
@@ -300,6 +300,13 @@ class CrashReportDatabase {
//! \return The operation status code.
virtual OperationStatus SkipReportUpload(const UUID& uuid) = 0;
+ //! \brief Deletes a crash report file and its associated metadata.
+ //!
+ //! \param[in] uuid The UUID of the report to delete.
+ //!
+ //! \return The operation status code.
+ virtual OperationStatus DeleteReport(const UUID& uuid) = 0;
+
protected:
CrashReportDatabase() {}
« no previous file with comments | « client/client_test.gyp ('k') | client/crash_report_database_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698