Index: base/trace_event/process_memory_totals_dump_provider.h |
diff --git a/base/trace_event/process_memory_totals_dump_provider.h b/base/trace_event/process_memory_totals_dump_provider.h |
index 66d4f9956dd5b9144f2352f55209a249e8742017..1ed511b30b07d97f5618b0448a43ceb4d2c8c869 100644 |
--- a/base/trace_event/process_memory_totals_dump_provider.h |
+++ b/base/trace_event/process_memory_totals_dump_provider.h |
@@ -5,6 +5,7 @@ |
#ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_DUMP_PROVIDER_H_ |
#define BASE_TRACE_EVENT_PROCESS_MEMORY_TOTALS_DUMP_PROVIDER_H_ |
+#include "base/files/scoped_file.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/singleton.h" |
@@ -25,6 +26,9 @@ class BASE_EXPORT ProcessMemoryTotalsDumpProvider : public MemoryDumpProvider { |
bool OnMemoryDump(const MemoryDumpArgs& args, |
ProcessMemoryDump* pmd) override; |
+ // proc/<pid>/status file. Used only in linux and andriod. |
+ ScopedFILE proc_status_file; |
+ |
private: |
friend struct DefaultSingletonTraits<ProcessMemoryTotalsDumpProvider>; |
FRIEND_TEST_ALL_PREFIXES(ProcessMemoryTotalsDumpProviderTest, DumpRSS); |