Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: snapshot/process_snapshot.h

Issue 1407643004: Some plumbing for the beginning of getting handles into snapshot/minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@handles-redux
Patch Set: . Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/minidump/process_snapshot_minidump.cc ('k') | snapshot/snapshot.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/process_snapshot.h
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h
index 0a2f4f9fd4047ff57890e4de6ade4ef459022c38..19d34607bf22489716cfd0acc2dd2c644782bc11 100644
--- a/snapshot/process_snapshot.h
+++ b/snapshot/process_snapshot.h
@@ -22,6 +22,7 @@
#include <string>
#include <vector>
+#include "snapshot/handle_snapshot.h"
#include "util/misc/uuid.h"
namespace crashpad {
@@ -171,6 +172,12 @@ class ProcessSnapshot {
//! the ProcessSnapshot object that they were obtained from.
virtual std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const = 0;
+ //! \brief Returns HandleSnapshot objects reflecting the open handles in the
+ //! snapshot process at the time of the snapshot.
+ //!
+ //! \return A vector of HandleSnapshot objects.
+ virtual std::vector<HandleSnapshot> Handles() const = 0;
+
//! \brief Returns a vector of additional memory blocks that should be
//! included in a minidump.
//!
« no previous file with comments | « snapshot/minidump/process_snapshot_minidump.cc ('k') | snapshot/snapshot.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698