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

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

Issue 2282053005: LowMemoryManagement: Deprecate unnecessary calls to Android. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/memory/tab_manager_delegate_chromeos.cc ('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: 6 5 // Next MinVersion: 6
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.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 interface ProcessInstance { 99 interface ProcessInstance {
100 // Requests ARC instance to return the current process list. 100 // Requests ARC instance to return the current process list.
101 RequestProcessList@0() => (array<RunningAppProcessInfo> processes); 101 RequestProcessList@0() => (array<RunningAppProcessInfo> processes);
102 102
103 // Requests ARC instance to kill a process. 103 // Requests ARC instance to kill a process.
104 [MinVersion=1] 104 [MinVersion=1]
105 KillProcess@1(uint32 pid, string reason); 105 KillProcess@1(uint32 pid, string reason);
106 106
107 // Sets oom_score_adj of a process. 107 // Sets oom_score_adj of a process.
108 [MinVersion=2] 108 [MinVersion=2]
109 SetOomScoreAdj@2(uint32 pid, int32 score); 109 DeprecatedSetOomScoreAdj@2(uint32 pid, int32 score);
110 110
111 // Disables Android built-in oom_adj adjustment. 111 // Disables Android built-in oom_adj adjustment.
112 [MinVersion=2] 112 [MinVersion=2]
113 DisableBuiltinOomAdjustment@3(); 113 DeprecatedDisableBuiltinOomAdjustment@3();
114 114
115 // Disables Android lowmemorykiller. 115 // Disables Android lowmemorykiller.
116 [MinVersion=3] 116 [MinVersion=3]
117 DisableLowMemoryKiller@4(); 117 DeprecatedDisableLowMemoryKiller@4();
118 }; 118 };
OLDNEW
« no previous file with comments | « chrome/browser/memory/tab_manager_delegate_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698