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

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: For landing 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
« no previous file with comments | « client/client.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 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.
« no previous file with comments | « client/client.gyp ('k') | client/crash_report_database_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698