| Index: base/trace_event/process_memory_totals_dump_provider.cc
|
| diff --git a/base/trace_event/process_memory_totals_dump_provider.cc b/base/trace_event/process_memory_totals_dump_provider.cc
|
| index 125be382d7bec74b9b70430c7d515b44e3ab590d..06b537c4188ada9420ae05c41064e5b8e4602100 100644
|
| --- a/base/trace_event/process_memory_totals_dump_provider.cc
|
| +++ b/base/trace_event/process_memory_totals_dump_provider.cc
|
| @@ -16,8 +16,6 @@ uint64 ProcessMemoryTotalsDumpProvider::rss_bytes_for_testing = 0;
|
|
|
| namespace {
|
|
|
| -const char kDumperFriendlyName[] = "ProcessMemoryTotals";
|
| -
|
| ProcessMetrics* CreateProcessMetricsForCurrentProcess() {
|
| #if !defined(OS_MACOSX) || defined(OS_IOS)
|
| return ProcessMetrics::CreateProcessMetrics(GetCurrentProcessHandle());
|
| @@ -44,7 +42,7 @@ ProcessMemoryTotalsDumpProvider::~ProcessMemoryTotalsDumpProvider() {
|
|
|
| // Called at trace dump point time. Creates a snapshot the memory counters for
|
| // the current process.
|
| -bool ProcessMemoryTotalsDumpProvider::DumpInto(ProcessMemoryDump* pmd) {
|
| +bool ProcessMemoryTotalsDumpProvider::OnMemoryDump(ProcessMemoryDump* pmd) {
|
| const uint64 rss_bytes = rss_bytes_for_testing
|
| ? rss_bytes_for_testing
|
| : process_metrics_->GetWorkingSetSize();
|
| @@ -58,9 +56,5 @@ bool ProcessMemoryTotalsDumpProvider::DumpInto(ProcessMemoryDump* pmd) {
|
| return false;
|
| }
|
|
|
| -const char* ProcessMemoryTotalsDumpProvider::GetFriendlyName() const {
|
| - return kDumperFriendlyName;
|
| -}
|
| -
|
| } // namespace trace_event
|
| } // namespace base
|
|
|