| Index: snapshot/win/process_reader_win.h
|
| diff --git a/snapshot/win/process_reader_win.h b/snapshot/win/process_reader_win.h
|
| index 1e079f0f7f98905271641efea95c2e25d9db94b7..b5d7d9af6f1efee9c2d3c1066835711bf19ed8be 100644
|
| --- a/snapshot/win/process_reader_win.h
|
| +++ b/snapshot/win/process_reader_win.h
|
| @@ -42,8 +42,19 @@ 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(uintptr_t at, size_t num_bytes, void* into);
|
| +
|
| + //! \return The modules loaded in the process. The first element (at index
|
| + //! `0`) corresponds to the main executable.
|
| + const std::vector<ProcessInfo::Module>& Modules();
|
| +
|
| private:
|
| + HANDLE process_;
|
| ProcessInfo process_info_;
|
| + std::vector<ProcessInfo::Module> modules_;
|
| InitializationStateDcheck initialized_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProcessReaderWin);
|
|
|