Chromium Code Reviews| Index: components/crash/content/app/crashpad.h |
| diff --git a/components/crash/content/app/crashpad.h b/components/crash/content/app/crashpad.h |
| index eeb65ac69b71f96e4fdcc891650e34773f0b2a37..123201b151e4de4aaacfa1ff3311cc6dba8340f0 100644 |
| --- a/components/crash/content/app/crashpad.h |
| +++ b/components/crash/content/app/crashpad.h |
| @@ -13,6 +13,10 @@ |
| #include "base/files/file_path.h" |
| +#if defined(OS_MACOSX) |
|
Mark Mentovai
2017/03/14 23:24:52
#include "build/build_config.h" first (this file s
Robert Sesek
2017/03/15 19:22:09
Done.
|
| +#include "base/mac/scoped_mach_port.h" |
| +#endif |
| + |
| namespace crash_reporter { |
| // Initializes Crashpad in a way that is appropriate for initial_client and |
| @@ -94,6 +98,12 @@ void GetReports(std::vector<Report>* reports); |
| // Requests a user triggered upload for a crash report with a given id. |
| void RequestSingleCrashUpload(const std::string& local_id); |
| +#if defined(OS_MACOSX) |
| +// After Crashpad is initialized, returns a new send right to the handler's |
| +// Mach port. |
| +base::mac::ScopedMachSendRight GetHandlerMachPort(); |
| +#endif |
| + |
| namespace internal { |
| #if defined(OS_WIN) |