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

Unified Diff: handler/mac/crash_report_exception_handler.h

Issue 918743002: handler: Add crash report upload. Almost (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 10 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: handler/mac/crash_report_exception_handler.h
diff --git a/handler/mac/crash_report_exception_handler.h b/handler/mac/crash_report_exception_handler.h
index 65cc4da2b266fdd78d9d43d580579be4b07ae331..08c1cadde5db0efea07e888618fb3e795f005284 100644
--- a/handler/mac/crash_report_exception_handler.h
+++ b/handler/mac/crash_report_exception_handler.h
@@ -19,6 +19,7 @@
#include "base/basictypes.h"
#include "client/crash_report_database.h"
+#include "handler/mac/crash_report_upload_thread.h"
#include "util/mach/exc_server_variants.h"
namespace crashpad {
@@ -30,7 +31,10 @@ class CrashReportExceptionHandler : public UniversalMachExcServer::Interface {
//! \brief Creates a new object that will store crash reports in \a database.
//!
//! \param[in] database The database to store crash reports in. Weak.
- explicit CrashReportExceptionHandler(CrashReportDatabase* database);
+ //! \param[in] report_pending The upload thread to notify when a new crash
Robert Sesek 2015/02/12 01:23:37 report_pending -> upload_thread
+ //! report is written into \a database.
+ CrashReportExceptionHandler(CrashReportDatabase* database,
+ CrashReportUploadThread* upload_thread);
~CrashReportExceptionHandler();
@@ -56,6 +60,7 @@ class CrashReportExceptionHandler : public UniversalMachExcServer::Interface {
private:
CrashReportDatabase* database_; // weak
+ CrashReportUploadThread* upload_thread_; // weak
DISALLOW_COPY_AND_ASSIGN(CrashReportExceptionHandler);
};

Powered by Google App Engine
This is Rietveld 408576698