summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authorgregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 03:38:36 +0000
committergregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 03:38:36 +0000
commit663177b22a2738a759458f475b00bcd466a088f2 (patch)
treedf1f4b4a64ccdb674af4dfdb1887b6d4aa2518cb /chrome/browser/memory_details.cc
parent0ff4ddd286f1d42e7f53eab4df21e4b955f7d02a (diff)
downloadchromium_src-663177b22a2738a759458f475b00bcd466a088f2.zip
chromium_src-663177b22a2738a759458f475b00bcd466a088f2.tar.gz
chromium_src-663177b22a2738a759458f475b00bcd466a088f2.tar.bz2
Adding support for Native Client in Chrome's task manager and "stats for nerds" screen.
TEST=none BUG=http://code.google.com/p/nativeclient/issues/detail?id=108 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28875 Review URL: http://codereview.chromium.org/267043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index 72d47fd..d96afdc 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -206,6 +206,9 @@ void MemoryDetails::UpdateHistograms() {
case ChildProcessInfo::SANDBOX_HELPER_PROCESS:
UMA_HISTOGRAM_MEMORY_KB("Memory.SandboxHelper", sample);
break;
+ case ChildProcessInfo::NACL_PROCESS:
+ UMA_HISTOGRAM_MEMORY_KB("Memory.NativeClient", sample);
+ break;
default:
NOTREACHED();
}