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..1a79af268fee306d516ca3912f8f51356ba3a1c3 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,11 @@ class ProcessReaderWin { |
//! `0`) corresponds to the main executable. |
const std::vector<ProcessInfo::Module>& Modules(); |
+ const ProcessInfo& process_info() const { |
Mark Mentovai
2015/09/23 21:40:50
Move this out-of-line (and rename ProcessInfo()) s
scottmg
2015/09/24 20:00:10
Done, unfortunately can't be called ProcessInfo()
|
+ INITIALIZATION_STATE_DCHECK_VALID(initialized_); |
+ return process_info_; |
+ } |
+ |
private: |
template <class Traits> |
void ReadThreadData(bool is_64_reading_32); |