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

Side by Side Diff: components/arc/common/process.mojom

Issue 2023643002: Add ARC app icons to the Task Manager UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert back to the original test code 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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Next MinVersion: 4 5 // Next MinVersion: 5
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 // Describes the current process state, as defined by AOSP in 9 // Describes the current process state, as defined by AOSP in
10 // android.app.ActivityManager. 10 // android.app.ActivityManager.
11 enum ProcessState { 11 enum ProcessState {
12 // Process does not exist. 12 // Process does not exist.
13 NONEXISTENT = -1, 13 NONEXISTENT = -1,
14 14
15 // Process is a persistent system process. 15 // Process is a persistent system process.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // This struct is a subset of android.app.ActivityManager.RunningAppProcessInfo. 77 // This struct is a subset of android.app.ActivityManager.RunningAppProcessInfo.
78 struct RunningAppProcessInfo { 78 struct RunningAppProcessInfo {
79 // Name of the process. 79 // Name of the process.
80 string process_name; 80 string process_name;
81 81
82 // PID (within ARC's PID namespace) of the process. 82 // PID (within ARC's PID namespace) of the process.
83 uint32 pid; 83 uint32 pid;
84 84
85 // Current process state. 85 // Current process state.
86 ProcessState process_state; 86 ProcessState process_state;
87
88 // Package names running in the process.
89 [MinVersion=4] array<string>? packages;
87 }; 90 };
88 91
89 interface ProcessInstance { 92 interface ProcessInstance {
90 // Requests ARC instance to return the current process list. 93 // Requests ARC instance to return the current process list.
91 RequestProcessList() => (array<RunningAppProcessInfo> processes); 94 RequestProcessList() => (array<RunningAppProcessInfo> processes);
92 95
93 // Requests ARC instance to kill a process. 96 // Requests ARC instance to kill a process.
94 [MinVersion=1] 97 [MinVersion=1]
95 KillProcess(uint32 pid, string reason); 98 KillProcess(uint32 pid, string reason);
96 99
97 // Sets oom_score_adj of a process. 100 // Sets oom_score_adj of a process.
98 [MinVersion=2] 101 [MinVersion=2]
99 SetOomScoreAdj(uint32 pid, int32 score); 102 SetOomScoreAdj(uint32 pid, int32 score);
100 103
101 // Disables Android built-in oom_adj adjustment. 104 // Disables Android built-in oom_adj adjustment.
102 [MinVersion=2] 105 [MinVersion=2]
103 DisableBuiltinOomAdjustment(); 106 DisableBuiltinOomAdjustment();
104 107
105 // Disables Android lowmemorykiller. 108 // Disables Android lowmemorykiller.
106 [MinVersion=3] 109 [MinVersion=3]
107 DisableLowMemoryKiller(); 110 DisableLowMemoryKiller();
108 }; 111 };
OLDNEW
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698