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

Unified Diff: snapshot/win/process_reader_win.h

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.h
diff --git a/snapshot/win/process_reader_win.h b/snapshot/win/process_reader_win.h
index d0bb74447a98a210683fa803644bd7144df40b14..64181891f5232b4d7d0719abe64029f0fbf4bd5e 100644
--- a/snapshot/win/process_reader_win.h
+++ b/snapshot/win/process_reader_win.h
@@ -86,9 +86,6 @@ class ProcessReaderWin {
//! \return `true` if the target task is a 64-bit process.
bool Is64Bit() const { return process_info_.Is64Bit(); }
- pid_t ProcessID() const { return process_info_.ProcessID(); }
- pid_t ParentProcessID() const { return process_info_.ParentProcessID(); }
-
bool ReadMemory(WinVMAddress at, WinVMSize num_bytes, void* into) const;
//! \brief Determines the target process' start time.
@@ -116,6 +113,9 @@ class ProcessReaderWin {
//! `0`) corresponds to the main executable.
const std::vector<ProcessInfo::Module>& Modules();
+ //! \return A ProcessInfo object for the process being read.
+ const ProcessInfo& GetProcessInfo() const;
+
private:
template <class Traits>
void ReadThreadData(bool is_64_reading_32);

Powered by Google App Engine
This is Rietveld 408576698