Commit 56cd228e authored by thakis@chromium.org's avatar thakis@chromium.org

Give GPU process a name in the task manager

BUG=52139
TEST=Enable GPU process, open task manager. Shouldn't dcheck.

Review URL: http://codereview.chromium.org/3165041

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56864 0039d316-1c4b-4281-b951-d872f2087c98
parent 826161f8
......@@ -3326,6 +3326,9 @@ each locale. -->
<message name="IDS_TASK_MANAGER_NACL_BROKER_PREFIX" desc="Task Manager row for Native Client broker, which acts as the sanbox manager for NaCl processes">
<ph name="Native_Client">Native Client</ph> security manager
</message>
<message name="IDS_TASK_MANAGER_GPU_PREFIX" desc="Task Manager row for the GPU process, which is the process doing all accelerated graphics rendering">
GPU Process
</message>
<message name="IDS_TASK_MANAGER_NOTIFICATION_PREFIX" desc="The prefix for a Desktop Notification in the Task Manager">
Notification: <ph name="NOTIFICATION_NAME">$1<ex>http://www.domain.com</ex></ph>
</message>
......
......@@ -97,6 +97,8 @@ string16 ChildProcessInfo::GetLocalizedTitle() const {
message_id = IDS_TASK_MANAGER_NACL_PREFIX;
} else if (type_ == ChildProcessInfo::NACL_BROKER_PROCESS) {
message_id = IDS_TASK_MANAGER_NACL_BROKER_PREFIX;
} else if (type_ == ChildProcessInfo::GPU_PROCESS) {
message_id = IDS_TASK_MANAGER_GPU_PREFIX;
} else {
DCHECK(false) << "Need localized name for child process type.";
return title;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment