Index: base/process/process_metrics.h |
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h |
index 33cb64e24430f4bacf29d7a1ea8d3f873476f6d4..afece58e8a7bb02295e98a80750303436e2a39d4 100644 |
--- a/base/process/process_metrics.h |
+++ b/base/process/process_metrics.h |
@@ -27,6 +27,10 @@ |
#include "base/process/port_provider_mac.h" |
#endif |
+#if defined(OS_WIN) |
+#include "base/win/scoped_handle.h" |
+#endif |
+ |
namespace base { |
#if defined(OS_WIN) |
@@ -213,7 +217,11 @@ class BASE_EXPORT ProcessMetrics { |
int CalculateIdleWakeupsPerSecond(uint64_t absolute_idle_wakeups); |
#endif |
+#if defined(OS_WIN) |
+ win::ScopedHandle process_; |
+#else |
ProcessHandle process_; |
+#endif |
int processor_count_; |