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

Unified Diff: components/arc/common/process.mojom

Issue 1891423003: TabManagerDelegator: Disable kernel lowmemorykiller if memory management is handled by Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « chrome/browser/memory/tab_manager_delegate_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/process.mojom
diff --git a/components/arc/common/process.mojom b/components/arc/common/process.mojom
index c12c3628ad1cd5cae2a69088a37c1c65eeac8dc1..5e5d18928592f5f6c7b9c2d0b04a5b3ad30afe2b 100644
--- a/components/arc/common/process.mojom
+++ b/components/arc/common/process.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 3
+// Next MinVersion: 4
module arc;
@@ -94,13 +94,15 @@ interface ProcessInstance {
[MinVersion=1]
KillProcess(uint32 pid, string reason);
- // Set oom_score_adj of a process.
+ // Sets oom_score_adj of a process.
[MinVersion=2]
SetOomScoreAdj(uint32 pid, int32 score);
- // Disable android built-in oom_adj adjustment.
- // After calling this method, Chrome will take over OOM scores management,
- // namely oom_score_adj settings.
+ // Disables Android built-in oom_adj adjustment.
[MinVersion=2]
DisableBuiltinOomAdjustment();
+
+ // Disables Android lowmemorykiller.
+ [MinVersion=3]
+ DisableLowMemoryKiller();
mdempsky 2016/04/16 01:33:27 Shouldn't this CL also include an implementation o
cylee1 2016/04/18 09:34:35 This is a mojo interface definition file. The impl
Luis Héctor Chávez 2016/04/19 22:33:35 For future reviews: All methods in components/arc/
};
« 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