Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: chrome/common/child_process_info.cc

Issue 3165041: Give GPU process a name in the task manager (Closed)
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_info.cc
diff --git a/chrome/common/child_process_info.cc b/chrome/common/child_process_info.cc
index 64e51a703f6046bd836c0dcaba076e0086ac81a2..a94b89d64242a18bd6556e3a1fffefdbcc4cbe6c 100644
--- a/chrome/common/child_process_info.cc
+++ b/chrome/common/child_process_info.cc
@@ -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;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698