Index: client/crash_report_database.h |
diff --git a/client/crash_report_database.h b/client/crash_report_database.h |
index ef55d9d27be85cf1d154f7a2cadb5c975a3819d4..01ccbe2ed8123198e3a0a53ecf87e51b35358c22 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,12 @@ class CrashReportDatabase { |
//! logged. |
static scoped_ptr<CrashReportDatabase> Initialize(const base::FilePath& path); |
+ //! \brief Returns the Settings object for this database. |
+ //! |
+ //! \return A weak pointer to the Settings object, which is owned by the |
+ //! database. |
+ 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. |