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

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: Address review feedback 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
« no previous file with comments | « handler/handler.gyp ('k') | handler/mac/crash_report_exception_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8f81102e3a4812438badec36dfce0a5b2e02697d 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] upload_thread The upload thread to notify when a new crash
+ //! 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);
};
« no previous file with comments | « handler/handler.gyp ('k') | handler/mac/crash_report_exception_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698