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

Issue 8932003: WebUI Task manager: prevent to kill the wrong process or none (Closed)

Created:
9 years ago by yoshiki
Modified:
9 years ago
Reviewers:
mazda, James Hawkins
CC:
chromium-reviews, arv (Not doing code reviews), yoshiki+watch_chromium.org
Visibility:
Public.

Description

WebUI Task manager: prevent to kill the wrong process or none Use the unique_id to determine the process instead of the selected index. BUG=chromium-os:23739 TEST=manual on chromium-os(aura) on Linux Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114479

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use unique_id to determine process instead of PID. #

Total comments: 2

Patch Set 3 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -42 lines) Patch
M chrome/browser/resources/task_manager/main.js View 1 2 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/task_manager/task_manager.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/task_manager_handler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/task_manager_handler.cc View 1 2 chunks +20 lines, -36 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
yoshiki
@mazda for review and @jhawkins for approval.
9 years ago (2011-12-13 08:40:27 UTC) #1
James Hawkins
http://codereview.chromium.org/8932003/diff/1/chrome/browser/ui/webui/task_manager_handler.cc File chrome/browser/ui/webui/task_manager_handler.cc (right): http://codereview.chromium.org/8932003/diff/1/chrome/browser/ui/webui/task_manager_handler.cc#newcode345 chrome/browser/ui/webui/task_manager_handler.cc:345: for (int resource_index = 0; resource_index < model_->ResourceCount(); Is ...
9 years ago (2011-12-13 17:44:21 UTC) #2
yoshiki
jhawkins: PATL? http://codereview.chromium.org/8932003/diff/1/chrome/browser/ui/webui/task_manager_handler.cc File chrome/browser/ui/webui/task_manager_handler.cc (right): http://codereview.chromium.org/8932003/diff/1/chrome/browser/ui/webui/task_manager_handler.cc#newcode345 chrome/browser/ui/webui/task_manager_handler.cc:345: for (int resource_index = 0; resource_index < ...
9 years ago (2011-12-14 09:06:47 UTC) #3
mazda
lgtm with a nit. http://codereview.chromium.org/8932003/diff/10001/chrome/browser/task_manager/task_manager.h File chrome/browser/task_manager/task_manager.h (right): http://codereview.chromium.org/8932003/diff/10001/chrome/browser/task_manager/task_manager.h#newcode276 chrome/browser/task_manager/task_manager.h:276: int GetResourceIndexByUniqueId(const int unique_id) const; ...
9 years ago (2011-12-14 09:38:20 UTC) #4
yoshiki
mazda: thanks! jhawkins: PTAL? http://codereview.chromium.org/8932003/diff/10001/chrome/browser/task_manager/task_manager.h File chrome/browser/task_manager/task_manager.h (right): http://codereview.chromium.org/8932003/diff/10001/chrome/browser/task_manager/task_manager.h#newcode276 chrome/browser/task_manager/task_manager.h:276: int GetResourceIndexByUniqueId(const int unique_id) const; ...
9 years ago (2011-12-14 09:52:24 UTC) #5
James Hawkins
lgtm
9 years ago (2011-12-14 18:12:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/8932003/6003
9 years ago (2011-12-14 18:32:14 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-14 19:41:38 UTC) #8
Change committed as 114479

Powered by Google App Engine
This is Rietveld 408576698