Index: minidump/minidump_module_crashpad_info_writer.h |
diff --git a/minidump/minidump_module_crashpad_info_writer.h b/minidump/minidump_module_crashpad_info_writer.h |
index 030755e50d90d0b110f8adeacec6f03626cf650b..b2c54c76a777f43ad253ed931385ad7a1ebc813e 100644 |
--- a/minidump/minidump_module_crashpad_info_writer.h |
+++ b/minidump/minidump_module_crashpad_info_writer.h |
@@ -41,8 +41,7 @@ class MinidumpModuleCrashpadInfoWriter final |
MinidumpModuleCrashpadInfoWriter(); |
~MinidumpModuleCrashpadInfoWriter() override; |
- //! \brief Initializes the MinidumpModuleCrashpadInfo based on \a |
- //! module_snapshot. |
+ //! \brief Initializes MinidumpModuleCrashpadInfo based on \a module_snapshot. |
//! |
//! Only data in \a module_snapshot that is considered useful will be |
//! included. For simple annotations, usefulness is determined by |
@@ -142,6 +141,15 @@ class MinidumpModuleCrashpadInfoListWriter final |
//! \note Valid in #kStateMutable. |
void AddModule(scoped_ptr<MinidumpModuleCrashpadInfoWriter> module); |
+ //! \brief Determines whether the object is useful. |
+ //! |
+ //! A useful object is one that carries data that makes a meaningful |
+ //! contribution to a minidump file. An object carrying children would be |
+ //! considered useful. |
+ //! |
+ //! \return `true` if the object is useful, `false` otherwise. |
+ bool IsUseful() const; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(MinidumpModuleCrashpadInfoListWriter); |
}; |