OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 package org.chromium.content.browser; | 5 package org.chromium.base.process_launcher; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 | 8 |
9 /** | 9 /** |
10 * Manages oom bindings used to bound child services. "Oom binding" is a binding
that raises the | 10 * Manages oom bindings used to bound child services. "Oom binding" is a binding
that raises the |
11 * process oom priority so that it shouldn't be killed by the OS out-of-memory k
iller under | 11 * process oom priority so that it shouldn't be killed by the OS out-of-memory k
iller under |
12 * normal conditions (it can still be killed under drastic memory pressure). Chi
ldProcessConnections | 12 * normal conditions (it can still be killed under drastic memory pressure). Chi
ldProcessConnections |
13 * have two oom bindings: initial binding and strong binding. | 13 * have two oom bindings: initial binding and strong binding. |
14 * | 14 * |
15 * BindingManager receives calls that signal status of each service (setInForegr
ound(), | 15 * BindingManager receives calls that signal status of each service (setInForegr
ound(), |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 * Starts moderate binding management. | 80 * Starts moderate binding management. |
81 * Please see https://goo.gl/tl9MQm for details. | 81 * Please see https://goo.gl/tl9MQm for details. |
82 */ | 82 */ |
83 void startModerateBindingManagement(Context context, int maxSize); | 83 void startModerateBindingManagement(Context context, int maxSize); |
84 | 84 |
85 /** | 85 /** |
86 * Releases all moderate bindings. | 86 * Releases all moderate bindings. |
87 */ | 87 */ |
88 void releaseAllModerateBindings(); | 88 void releaseAllModerateBindings(); |
89 } | 89 } |
OLD | NEW |