| Index: snapshot/mac/process_snapshot_mac.h
|
| diff --git a/snapshot/mac/process_snapshot_mac.h b/snapshot/mac/process_snapshot_mac.h
|
| index ef50b70c1525c451b8aca69880ea572f2c61680a..f34d4942622f9a026431057f0d0567e719012872 100644
|
| --- a/snapshot/mac/process_snapshot_mac.h
|
| +++ b/snapshot/mac/process_snapshot_mac.h
|
| @@ -25,6 +25,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "client/crashpad_info.h"
|
| #include "snapshot/exception_snapshot.h"
|
| #include "snapshot/mac/exception_snapshot_mac.h"
|
| #include "snapshot/mac/module_snapshot_mac.h"
|
| @@ -85,6 +86,23 @@ class ProcessSnapshotMac final : public ProcessSnapshot {
|
| annotations_simple_map_ = annotations_simple_map;
|
| }
|
|
|
| + //! \brief Returns options from CrashpadInfo structures found in modules in
|
| + //! the process.
|
| + //!
|
| + //! \param[out] enable_crashpad_handler A value configured by
|
| + //! CrashpadInfo::SetCrashpadHandlerState(). Each module in the process is
|
| + //! considered until one has a CrashpadInfo structure with a value other
|
| + //! than CrashpadInfo::kDefault for this field. If nothing is found, this
|
| + //! will be CrashpadInfo::kDefault.
|
| + //! \param[out] enable_crashpad_handler A value configured by
|
| + //! CrashpadInfo::SetNativeCrashReporterForwarding(). Each module in the
|
| + //! process is considered until one has a CrashpadInfo structure with a
|
| + //! value other than CrashpadInfo::kDefault for this field. If nothing is
|
| + //! found, this will be CrashpadInfo::kDefault.
|
| + void GetCrashpadOptions(
|
| + CrashpadInfo::TriState* enable_crashpad_handler,
|
| + CrashpadInfo::TriState* enable_native_crash_reporter_forwarding);
|
| +
|
| // ProcessSnapshot:
|
|
|
| pid_t ProcessID() const override;
|
|
|