diff options
author | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-28 20:13:20 +0000 |
---|---|---|
committer | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-28 20:13:20 +0000 |
commit | fcf79351461195a0d9f04549cfb9a72b4c72e7c1 (patch) | |
tree | 1891644d3779ad80137b812edd7db4ab1d9ce644 /chrome/browser/memory_details.h | |
parent | c50c66dcc9d8b162e50b2888711cc9fa319cf7f2 (diff) | |
download | chromium_src-fcf79351461195a0d9f04549cfb9a72b4c72e7c1.zip chromium_src-fcf79351461195a0d9f04549cfb9a72b4c72e7c1.tar.gz chromium_src-fcf79351461195a0d9f04549cfb9a72b4c72e7c1.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/memory_details.h')
-rw-r--r-- | chrome/browser/memory_details.h | 7 |
1 files changed, 5 insertions, 2 deletions
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<string16> titles; }; |