Index: client/crash_report_database.h |
diff --git a/client/crash_report_database.h b/client/crash_report_database.h |
index a266b212f962575835183942de8a2338b2cb54e4..a7e2c2000623238680a0c4840f3ee58666b70bb4 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. |