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

Unified Diff: chrome/browser/memory/tab_manager_delegate_chromeos.cc

Issue 2025593003: Show all system process in the task_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant check. Created 4 years, 3 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
Index: chrome/browser/memory/tab_manager_delegate_chromeos.cc
diff --git a/chrome/browser/memory/tab_manager_delegate_chromeos.cc b/chrome/browser/memory/tab_manager_delegate_chromeos.cc
index de53aaa038855d40801d1baf85ba51e279035b61..c1ab9788d33931f59117c0e87f779a2c7e64e97a 100644
--- a/chrome/browser/memory/tab_manager_delegate_chromeos.cc
+++ b/chrome/browser/memory/tab_manager_delegate_chromeos.cc
@@ -437,7 +437,7 @@ void TabManagerDelegate::LowMemoryKill(
const TabStatsList& tab_list) {
arc::ArcProcessService* arc_process_service = arc::ArcProcessService::Get();
if (arc_process_service &&
- arc_process_service->RequestProcessList(
+ arc_process_service->RequestAppProcessList(
base::Bind(&TabManagerDelegate::LowMemoryKillImpl,
weak_ptr_factory_.GetWeakPtr(), tab_list))) {
// LowMemoryKillImpl will be called asynchronously so nothing left to do.
@@ -569,7 +569,7 @@ void TabManagerDelegate::AdjustOomPriorities(const TabStatsList& tab_list) {
if (IsArcMemoryManagementEnabled()) {
arc::ArcProcessService* arc_process_service = arc::ArcProcessService::Get();
if (arc_process_service &&
- arc_process_service->RequestProcessList(
+ arc_process_service->RequestAppProcessList(
base::Bind(&TabManagerDelegate::AdjustOomPrioritiesImpl,
weak_ptr_factory_.GetWeakPtr(), tab_list))) {
return;

Powered by Google App Engine
This is Rietveld 408576698