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

Unified Diff: snapshot/test/test_exception_snapshot.cc

Issue 1533183002: win: Capture some memory pointed at by context (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: mac Created 4 years, 11 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
« no previous file with comments | « snapshot/test/test_exception_snapshot.h ('k') | snapshot/win/capture_context_memory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/test/test_exception_snapshot.cc
diff --git a/snapshot/test/test_exception_snapshot.cc b/snapshot/test/test_exception_snapshot.cc
index 73d121ce1551b5a4a86a72530e61eba72e669db2..6adfeaf8e64bca2b77facb4d5bf5391adfa66efe 100644
--- a/snapshot/test/test_exception_snapshot.cc
+++ b/snapshot/test/test_exception_snapshot.cc
@@ -55,5 +55,12 @@ const std::vector<uint64_t>& TestExceptionSnapshot::Codes() const {
return codes_;
}
+std::vector<const MemorySnapshot*> TestExceptionSnapshot::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
« no previous file with comments | « snapshot/test/test_exception_snapshot.h ('k') | snapshot/win/capture_context_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698