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); |