Index: snapshot/test/test_process_snapshot.cc |
diff --git a/snapshot/test/test_process_snapshot.cc b/snapshot/test/test_process_snapshot.cc |
index c87d7a63606c55b5ac76f9b7cbdb1132556e8455..1d21212dba31de031ef263d14c0f54f6ef2000a6 100644 |
--- a/snapshot/test/test_process_snapshot.cc |
+++ b/snapshot/test/test_process_snapshot.cc |
@@ -32,7 +32,8 @@ TestProcessSnapshot::TestProcessSnapshot() |
system_(), |
threads_(), |
modules_(), |
- exception_() { |
+ exception_(), |
+ extra_memory_() { |
} |
TestProcessSnapshot::~TestProcessSnapshot() { |
@@ -97,5 +98,12 @@ const ExceptionSnapshot* TestProcessSnapshot::Exception() const { |
return exception_.get(); |
} |
+std::vector<const MemorySnapshot*> TestProcessSnapshot::ExtraMemory() const { |
+ std::vector<const MemorySnapshot*> extra_memory; |
+ for (const auto& em : extra_memory_) |
+ extra_memory.push_back(em); |
+ return extra_memory; |
+} |
+ |
} // namespace test |
} // namespace crashpad |