Index: snapshot/process_snapshot.h |
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h |
index 0a2f4f9fd4047ff57890e4de6ade4ef459022c38..19d34607bf22489716cfd0acc2dd2c644782bc11 100644 |
--- a/snapshot/process_snapshot.h |
+++ b/snapshot/process_snapshot.h |
@@ -22,6 +22,7 @@ |
#include <string> |
#include <vector> |
+#include "snapshot/handle_snapshot.h" |
#include "util/misc/uuid.h" |
namespace crashpad { |
@@ -171,6 +172,12 @@ class ProcessSnapshot { |
//! the ProcessSnapshot object that they were obtained from. |
virtual std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const = 0; |
+ //! \brief Returns HandleSnapshot objects reflecting the open handles in the |
+ //! snapshot process at the time of the snapshot. |
+ //! |
+ //! \return A vector of HandleSnapshot objects. |
+ virtual std::vector<HandleSnapshot> Handles() const = 0; |
+ |
//! \brief Returns a vector of additional memory blocks that should be |
//! included in a minidump. |
//! |