From fcf79351461195a0d9f04549cfb9a72b4c72e7c1 Mon Sep 17 00:00:00 2001 From: "erikkay@chromium.org" Date: Tue, 28 Dec 2010 20:13:20 +0000 Subject: fix about:memory and memory histograms BUG=22020 TEST=about:memory Review URL: http://codereview.chromium.org/5981007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70236 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/memory_details.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chrome/browser/memory_details.h') diff --git a/chrome/browser/memory_details.h b/chrome/browser/memory_details.h index b39a1a6..9333b56 100644 --- a/chrome/browser/memory_details.h +++ b/chrome/browser/memory_details.h @@ -32,11 +32,14 @@ struct ProcessMemoryInformation { string16 product_name; // The number of processes which this memory represents. int num_processes; - // A process is a diagnostics process if it is rendering - // about:xxx information. + // A process is a diagnostics process if it is rendering about:memory. + // Mark this specially so that it can avoid counting it in its own + // results. bool is_diagnostics; // If this is a child process of Chrome, what type (i.e. plugin) it is. ChildProcessInfo::ProcessType type; + // If this is a renderer process, what type it is. + ChildProcessInfo::RendererProcessType renderer_type; // A collection of titles used, i.e. for a tab it'll show all the page titles. std::vector titles; }; -- cgit v1.1