Chromium Code Reviews| Index: snapshot/thread_snapshot.h |
| diff --git a/snapshot/thread_snapshot.h b/snapshot/thread_snapshot.h |
| index d43fc6e5c8ef787e115e5aab8439654d07f9dedb..63eafbddc50bdd6c11d67d3603d6014e65fdcebe 100644 |
| --- a/snapshot/thread_snapshot.h |
| +++ b/snapshot/thread_snapshot.h |
| @@ -17,6 +17,8 @@ |
| #include <stdint.h> |
| +#include <vector> |
| + |
| namespace crashpad { |
| struct CPUContext; |
| @@ -62,6 +64,15 @@ class ThreadSnapshot { |
| //! \brief Returns the base address of a region used to store thread-specific |
| //! data. |
| virtual uint64_t ThreadSpecificDataAddress() const = 0; |
| + |
| + //! \brief Returns a vector of additional memory blocks that should be |
| + //! included in a minidump. |
| + //! |
| + //! \return An vector of MemorySnapshot objects that will be included in the |
|
Mark Mentovai
2015/09/29 22:14:04
“an vector?” Don’t tell me that you pronounce this
scottmg
2015/09/30 18:54:11
:-) Done.
|
| + //! crash dump. The caller does not take ownership of these objects, they |
| + //! are scoped to the lifetime of the ThreadSnapshot object that they |
| + //! were obtained from. |
| + virtual std::vector<const MemorySnapshot*> ExtraMemory() const = 0; |
| }; |
| } // namespace crashpad |