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..847b6e52148d35110495f84b45a5ddba60e7c195 100644 |
--- a/snapshot/test/test_process_snapshot.cc |
+++ b/snapshot/test/test_process_snapshot.cc |
@@ -30,6 +30,7 @@ TestProcessSnapshot::TestProcessSnapshot() |
client_id_(), |
annotations_simple_map_(), |
system_(), |
+ peb_(), |
threads_(), |
modules_(), |
exception_() { |
@@ -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; |
+ if (peb_) |
+ extra_memory.push_back(peb_.get()); |
+ return extra_memory; |
+} |
+ |
} // namespace test |
} // namespace crashpad |