| Index: snapshot/win/process_snapshot_win.cc
|
| diff --git a/snapshot/win/process_snapshot_win.cc b/snapshot/win/process_snapshot_win.cc
|
| index 26de3db3d4c9a467eac2bd20426bafea1d0323cb..e08142868a013d038e9386eb7e7d5bd75d06b18e 100644
|
| --- a/snapshot/win/process_snapshot_win.cc
|
| +++ b/snapshot/win/process_snapshot_win.cc
|
| @@ -18,6 +18,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/strings/stringprintf.h"
|
| +#include "snapshot/win/memory_snapshot_win.h"
|
| #include "snapshot/win/module_snapshot_win.h"
|
| #include "util/win/registration_protocol_win.h"
|
| #include "util/win/time.h"
|
| @@ -30,6 +31,7 @@ ProcessSnapshotWin::ProcessSnapshotWin()
|
| threads_(),
|
| modules_(),
|
| exception_(),
|
| + memory_map_(),
|
| process_reader_(),
|
| report_id_(),
|
| client_id_(),
|
| @@ -60,6 +62,8 @@ bool ProcessSnapshotWin::Initialize(HANDLE process,
|
| InitializeThreads();
|
| InitializeModules();
|
|
|
| + memory_map_.Initialize(&process_reader_);
|
| +
|
| INITIALIZATION_STATE_SET_VALID(initialized_);
|
| return true;
|
| }
|
| @@ -187,6 +191,10 @@ const ExceptionSnapshot* ProcessSnapshotWin::Exception() const {
|
| return exception_.get();
|
| }
|
|
|
| +const MemoryMapSnapshot* ProcessSnapshotWin::MemoryMap() const {
|
| + return &memory_map_;
|
| +}
|
| +
|
| std::vector<const MemorySnapshot*> ProcessSnapshotWin::ExtraMemory() const {
|
| INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
| std::vector<const MemorySnapshot*> extra_memory;
|
|
|