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

Unified Diff: client/crash_report_database.h

Issue 988063003: Define the Settings interface for a CrashReportDatabase and provide a Mac implementation. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 9 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: client/crash_report_database.h
diff --git a/client/crash_report_database.h b/client/crash_report_database.h
index ef55d9d27be85cf1d154f7a2cadb5c975a3819d4..8f24401501f5f711973868ebf178010358c0a705 100644
--- a/client/crash_report_database.h
+++ b/client/crash_report_database.h
@@ -28,6 +28,8 @@
namespace crashpad {
+class Settings;
+
//! \brief An interface for managing a collection of crash report files and
//! metadata associated with the crash reports.
//!
@@ -141,6 +143,9 @@ class CrashReportDatabase {
//! logged.
static scoped_ptr<CrashReportDatabase> Initialize(const base::FilePath& path);
+ //! \brief Returns the Settings object for this database.
Mark Mentovai 2015/03/08 05:21:56 Ownership?
Robert Sesek 2015/03/08 22:15:35 Done.
+ virtual Settings* GetSettings() = 0;
+
//! \brief Creates a record of a new crash report.
//!
//! Callers can then write the crash report using the file handle provided.

Powered by Google App Engine
This is Rietveld 408576698