Index: base/process/process_metrics.h |
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h |
index 9747a1c16bd7f1409d2297b5a976d89de85fdeac..fbbdb88e2548b1f56815664a441a035e0f9e497e 100644 |
--- a/base/process/process_metrics.h |
+++ b/base/process/process_metrics.h |
@@ -225,6 +225,11 @@ class BASE_EXPORT ProcessMetrics { |
int GetOpenFdSoftLimit() const; |
#endif // defined(OS_LINUX) || defined(OS_AIX) |
+#if defined(OS_LINUX) || defined(OS_ANDROID) |
+ // Bytes of swap as reported by /proc/[pid]/status. |
+ uint64_t GetVmSwapBytes() const; |
+#endif // defined(OS_LINUX) || defined(OS_ANDROID) |
+ |
private: |
#if !defined(OS_MACOSX) || defined(OS_IOS) |
explicit ProcessMetrics(ProcessHandle process); |