Index: third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.h |
diff --git a/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.h b/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.h |
index c2307bee844461e40626d6c43a1bf551a852572f..4d33d7be2e6bba8fb0f474d18cf2c35e5b271559 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.h |
+++ b/third_party/crashpad/crashpad/snapshot/win/process_snapshot_win.h |
@@ -34,6 +34,7 @@ |
#include "snapshot/process_snapshot.h" |
#include "snapshot/system_snapshot.h" |
#include "snapshot/thread_snapshot.h" |
+#include "snapshot/unloaded_module_snapshot.h" |
#include "snapshot/win/exception_snapshot_win.h" |
#include "snapshot/win/memory_map_region_snapshot_win.h" |
#include "snapshot/win/memory_snapshot_win.h" |
@@ -134,6 +135,7 @@ class ProcessSnapshotWin final : public ProcessSnapshot { |
const SystemSnapshot* System() const override; |
std::vector<const ThreadSnapshot*> Threads() const override; |
std::vector<const ModuleSnapshot*> Modules() const override; |
+ std::vector<UnloadedModuleSnapshot> UnloadedModules() const override; |
const ExceptionSnapshot* Exception() const override; |
std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override; |
std::vector<HandleSnapshot> Handles() const override; |
@@ -146,6 +148,9 @@ class ProcessSnapshotWin final : public ProcessSnapshot { |
// Initializes modules_ on behalf of Initialize(). |
void InitializeModules(); |
+ // Initializes unloaded_modules_ on behalf of Initialize(). |
+ void InitializeUnloadedModules(); |
+ |
// Initializes options_ on behalf of Initialize(). |
void GetCrashpadOptionsInternal(CrashpadInfoClientOptions* options); |
@@ -182,6 +187,7 @@ class ProcessSnapshotWin final : public ProcessSnapshot { |
PointerVector<internal::MemorySnapshotWin> extra_memory_; |
PointerVector<internal::ThreadSnapshotWin> threads_; |
PointerVector<internal::ModuleSnapshotWin> modules_; |
+ std::vector<UnloadedModuleSnapshot> unloaded_modules_; |
scoped_ptr<internal::ExceptionSnapshotWin> exception_; |
PointerVector<internal::MemoryMapRegionSnapshotWin> memory_map_; |
ProcessReaderWin process_reader_; |