Chromium Code Reviews| 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); |
| }; |