Index: chrome/browser/task_manager/task_manager_notification_resource_provider.cc |
diff --git a/chrome/browser/task_manager/task_manager_notification_resource_provider.cc b/chrome/browser/task_manager/task_manager_notification_resource_provider.cc |
index fb0de12793a3078ec238e807a1eb77997dfd00d2..fc9729a2d38cf1dab1a91e3dfe309f9136a0bea2 100644 |
--- a/chrome/browser/task_manager/task_manager_notification_resource_provider.cc |
+++ b/chrome/browser/task_manager/task_manager_notification_resource_provider.cc |
@@ -38,6 +38,8 @@ TaskManagerNotificationResource::TaskManagerNotificationResource( |
} |
process_handle_ = |
balloon_host_->web_contents()->GetRenderProcessHost()->GetHandle(); |
+ unique_process_id_ = |
+ balloon_host_->web_contents()->GetRenderProcessHost()->GetID(); |
pid_ = base::GetProcId(process_handle_); |
title_ = l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_NOTIFICATION_PREFIX, |
balloon_host_->GetSource()); |
@@ -62,6 +64,10 @@ base::ProcessHandle TaskManagerNotificationResource::GetProcess() const { |
return process_handle_; |
} |
+int TaskManagerNotificationResource::GetUniqueChildProcessId() const { |
+ return unique_process_id_; |
+} |
+ |
TaskManager::Resource::Type TaskManagerNotificationResource::GetType() const { |
return NOTIFICATION; |
} |