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

Unified Diff: chrome/browser/chromeos/arc/arc_process_service.cc

Issue 2095413002: TabManagerDelegate: Better prioritize ARC processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/chromeos/arc/arc_process_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_process_service.cc b/chrome/browser/chromeos/arc/arc_process_service.cc
index 550ea0ae0c2f5a62cf0815969f2168c52a3a353c..b13f4563ffb1583efc4c410ad28cedf29a430c5e 100644
--- a/chrome/browser/chromeos/arc/arc_process_service.cc
+++ b/chrome/browser/chromeos/arc/arc_process_service.cc
@@ -172,7 +172,8 @@ void ArcProcessService::PopulateProcessList(
// In case the process already dies so couldn't find corresponding pid.
if (it != nspid_to_pid_.end() && it->second != kNullProcessId) {
ArcProcess arc_process(entry->pid, it->second, entry->process_name,
- entry->process_state);
+ entry->process_state, entry->adj,
+ entry->last_activity_time);
// |entry->packages| is provided only when process.mojom's verion is >=4.
if (entry->packages) {
for (const auto& package : entry->packages) {

Powered by Google App Engine
This is Rietveld 408576698