| Index: minidump/minidump_system_info_writer.h
|
| diff --git a/minidump/minidump_system_info_writer.h b/minidump/minidump_system_info_writer.h
|
| index 6cd133faa9d48fcc4710d1629113f5ae6c19d931..ce483e8cdb38f01405d7bccfede4632497153348 100644
|
| --- a/minidump/minidump_system_info_writer.h
|
| +++ b/minidump/minidump_system_info_writer.h
|
| @@ -29,6 +29,8 @@
|
|
|
| namespace crashpad {
|
|
|
| +class SystemSnapshot;
|
| +
|
| namespace internal {
|
| class MinidumpUTF16StringWriter;
|
| } // namespace internal
|
| @@ -39,6 +41,15 @@ class MinidumpSystemInfoWriter final : public internal::MinidumpStreamWriter {
|
| MinidumpSystemInfoWriter();
|
| ~MinidumpSystemInfoWriter() override;
|
|
|
| + //! \brief Initializes MINIDUMP_SYSTEM_INFO based on \a system_snapshot.
|
| + //!
|
| + //! \param[in] system_snapshot The system snapshot to use as source data.
|
| + //!
|
| + //! \note Valid in #kStateMutable. No mutator methods may be called before
|
| + //! this method, and it is not normally necessary to call any mutator
|
| + //! methods after this method.
|
| + void InitializeFromSnapshot(const SystemSnapshot* system_snapshot);
|
| +
|
| //! \brief Sets MINIDUMP_SYSTEM_INFO::ProcessorArchitecture.
|
| void SetCPUArchitecture(MinidumpCPUArchitecture processor_architecture) {
|
| system_info_.ProcessorArchitecture = processor_architecture;
|
|
|