Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: snapshot/test/test_process_snapshot.cc

Issue 1364053002: win: Save contents of PEB to minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@save-teb
Patch Set: fixes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698