summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_info.cc
diff options
context:
space:
mode:
authorgregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:28:36 +0000
committergregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:28:36 +0000
commitbf2641b495ff36eee7bfbfd213d8fd2d22dd0ec6 (patch)
treeacdc3c2b6e28ac4a4ec0e8cc6218225e23fa34aa /chrome/common/child_process_info.cc
parent83a4075694df07811f995653615c8685bacef3ce (diff)
downloadchromium_src-bf2641b495ff36eee7bfbfd213d8fd2d22dd0ec6.zip
chromium_src-bf2641b495ff36eee7bfbfd213d8fd2d22dd0ec6.tar.gz
chromium_src-bf2641b495ff36eee7bfbfd213d8fd2d22dd0ec6.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 Review URL: http://codereview.chromium.org/267043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_info.cc')
-rw-r--r--chrome/common/child_process_info.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/child_process_info.cc b/chrome/common/child_process_info.cc
index 71886f7..4eafde8 100644
--- a/chrome/common/child_process_info.cc
+++ b/chrome/common/child_process_info.cc
@@ -54,6 +54,8 @@ std::wstring ChildProcessInfo::GetTypeNameInEnglish(
return L"Zygote";
case SANDBOX_HELPER_PROCESS:
return L"Sandbox helper";
+ case NACL_PROCESS:
+ return L"Native Client module";
case UNKNOWN_PROCESS:
default:
DCHECK(false) << "Unknown child process type!";
@@ -75,6 +77,8 @@ std::wstring ChildProcessInfo::GetLocalizedTitle() const {
message_id = IDS_TASK_MANAGER_UTILITY_PREFIX;
} else if (type_ == ChildProcessInfo::PROFILE_IMPORT_PROCESS) {
message_id = IDS_TASK_MANAGER_PROFILE_IMPORT_PREFIX;
+ } else if (type_ == ChildProcessInfo::NACL_PROCESS) {
+ message_id = IDS_TASK_MANAGER_NACL_PREFIX;
} else {
DCHECK(false) << "Need localized name for child process type.";
return title;