Index: base/metrics/stats_table.h |
diff --git a/base/metrics/stats_table.h b/base/metrics/stats_table.h |
index 153af38c928c3379ecdedd4333883c3252c94547..578d2a9db94dfd27e7fa92b20b600e3c5f5808eb 100644 |
--- a/base/metrics/stats_table.h |
+++ b/base/metrics/stats_table.h |
@@ -25,6 +25,7 @@ |
#include "base/base_export.h" |
#include "base/basictypes.h" |
#include "base/containers/hash_tables.h" |
+#include "base/memory/shared_memory.h" |
#include "base/synchronization/lock.h" |
#include "base/threading/thread_local_storage.h" |
@@ -116,6 +117,11 @@ class BASE_EXPORT StatsTable { |
// The maxinum number of threads/columns in the table. |
int GetMaxThreads() const; |
+#if defined(OS_POSIX) |
+ // Get the underlying shared memory handle for the table. |
+ base::SharedMemoryHandle GetSharedMemoryHandle() const; |
+#endif |
+ |
// The maximum length (in characters) of a Thread's name including |
// null terminator, as stored in the shared memory. |
static const int kMaxThreadNameLength = 32; |