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 8f81102e3a4812438badec36dfce0a5b2e02697d..f44a989e7579114a2a4c707859a1deaa8c6cda60 100644 |
--- a/handler/mac/crash_report_exception_handler.h |
+++ b/handler/mac/crash_report_exception_handler.h |
@@ -17,6 +17,9 @@ |
#include <mach/mach.h> |
+#include <map> |
+#include <string> |
+ |
#include "base/basictypes.h" |
#include "client/crash_report_database.h" |
#include "handler/mac/crash_report_upload_thread.h" |
@@ -33,8 +36,12 @@ class CrashReportExceptionHandler : public UniversalMachExcServer::Interface { |
//! \param[in] database The database to store crash reports in. Weak. |
//! \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); |
+ //! \param[in] process_annotations A map of annotations to insert into each |
Robert Sesek
2015/03/05 00:14:42
Chrome's crash keys will not be set here, correct?
|
+ //! crash report that is written as process-level annotations. |
+ CrashReportExceptionHandler( |
+ CrashReportDatabase* database, |
+ CrashReportUploadThread* upload_thread, |
+ const std::map<std::string, std::string>& process_annotations); |
Robert Sesek
2015/03/05 00:14:42
Since this parameter is being stored by reference,
Mark Mentovai
2015/03/05 19:41:31
Robert Sesek wrote:
|
~CrashReportExceptionHandler(); |
@@ -61,6 +68,7 @@ class CrashReportExceptionHandler : public UniversalMachExcServer::Interface { |
private: |
CrashReportDatabase* database_; // weak |
CrashReportUploadThread* upload_thread_; // weak |
+ const std::map<std::string, std::string>& process_annotations_; |
DISALLOW_COPY_AND_ASSIGN(CrashReportExceptionHandler); |
}; |