commit | 9702b305c2ecad16fde17cabe112a72e7e82aa8d | [log] [tgz] |
---|---|---|
author | Chris Morin <[email protected]> | Tue May 22 21:01:37 2018 |
committer | Commit Bot <[email protected]> | Tue May 22 21:01:37 2018 |
tree | 485df5f3531a3b625e7d1e709dab604febee8b4a | |
parent | 6a43dad748e0d4f51eb6af5a06610dcca0d88b0b [diff] |
cros: remove code duplication between ArcProcess and ArcProcessTask ArcProcessTask contains a subset of the members in ArcProcess. It also contains similar logic with regards to determining which processes are killable from the task manager. This change has ArcProcessTask contain an ArcProcess instead of duplicating some of it's members, and delegates the logic of whether a process is killable to the ArcProcess instance. This causes a small change in which processes can be killed in the in the task manager: processes protected by the function ArcProcess::IsArcProtected can no longer be killed. This change is considered an improvement by the author of the IsArcProtected function. BUG=none TEST=Ensure task manager can still kill right processes. Change-Id: Id483b22e3a25f6fe8bbeeee8cddddcf0b5dbe298 Reviewed-on: https://chromium-review.googlesource.com/1068615 Commit-Queue: Christopher Morin <[email protected]> Reviewed-by: Yusuke Sato <[email protected]> Reviewed-by: Ahmed Fakhry <[email protected]> Reviewed-by: Hidehiko Abe <[email protected]> Cr-Commit-Position: refs/heads/master@{#560771}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .