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

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: Drop plist, use binary 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..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.

Powered by Google App Engine
This is Rietveld 408576698