Index: third_party/crashpad/crashpad/snapshot/process_snapshot.h |
diff --git a/third_party/crashpad/crashpad/snapshot/process_snapshot.h b/third_party/crashpad/crashpad/snapshot/process_snapshot.h |
index 19d34607bf22489716cfd0acc2dd2c644782bc11..8d5520cd3bd3e6fb4afb65eaa93d1f6cbe931ff7 100644 |
--- a/third_party/crashpad/crashpad/snapshot/process_snapshot.h |
+++ b/third_party/crashpad/crashpad/snapshot/process_snapshot.h |
@@ -33,6 +33,7 @@ class MemorySnapshot; |
class ModuleSnapshot; |
class SystemSnapshot; |
class ThreadSnapshot; |
+class UnloadedModuleSnapshot; |
//! \brief An abstract interface to a snapshot representing the state of a |
//! process. |
@@ -146,6 +147,12 @@ class ProcessSnapshot { |
//! ProcessSnapshot object that they were obtained from. |
virtual std::vector<const ModuleSnapshot*> Modules() const = 0; |
+ //! \brief Returns UnloadedModuleSnapshot objects reflecting the code modules |
+ //! the were recorded as unloaded at the time of the snapshot. |
+ //! |
+ //! \return A vector of UnloadedModuleSnapshot objects. |
+ virtual std::vector<UnloadedModuleSnapshot> UnloadedModules() const = 0; |
+ |
//! \brief Returns ThreadSnapshot objects reflecting the threads (lightweight |
//! processes) existing in the snapshot process at the time of the |
//! snapshot. |