| OLD | NEW |
| 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: 3 | 5 // Next MinVersion: 3 |
| 6 | 6 |
| 7 module arc; | 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. |
| 16 PERSISTENT = 0, | 16 PERSISTENT = 0, |
| 17 | 17 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // Set oom_score_adj of a process. | 97 // Set oom_score_adj of a process. |
| 98 [MinVersion=2] | 98 [MinVersion=2] |
| 99 SetOomScoreAdj(uint32 pid, int32 score); | 99 SetOomScoreAdj(uint32 pid, int32 score); |
| 100 | 100 |
| 101 // Disable android built-in oom_adj adjustment. | 101 // Disable android built-in oom_adj adjustment. |
| 102 // After calling this method, Chrome will take over OOM scores management, | 102 // After calling this method, Chrome will take over OOM scores management, |
| 103 // namely oom_score_adj settings. | 103 // namely oom_score_adj settings. |
| 104 [MinVersion=2] | 104 [MinVersion=2] |
| 105 DisableBuiltinOomAdjustment(); | 105 DisableBuiltinOomAdjustment(); |
| 106 }; | 106 }; |
| OLD | NEW |