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

Unified Diff: snapshot/win/process_reader_win.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/win/process_reader_win.cc
diff --git a/snapshot/win/process_reader_win.cc b/snapshot/win/process_reader_win.cc
index 3daf7e6ea2488689891e5544a60681459fa7e737..b8086afda7568c56bfb1307f2125be32ec453fe7 100644
--- a/snapshot/win/process_reader_win.cc
+++ b/snapshot/win/process_reader_win.cc
@@ -280,6 +280,11 @@ const std::vector<ProcessInfo::Module>& ProcessReaderWin::Modules() {
return modules_;
}
+const ProcessInfo& ProcessReaderWin::GetProcessInfo() const {
+ INITIALIZATION_STATE_DCHECK_VALID(initialized_);
+ return process_info_;
+}
+
template <class Traits>
void ProcessReaderWin::ReadThreadData(bool is_64_reading_32) {
DCHECK(threads_.empty());

Powered by Google App Engine
This is Rietveld 408576698