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

Side by Side Diff: base/android/java/src/org/chromium/base/process_launcher/BindingManager.java

Issue 2845243002: Moving BindingManager and ChildProcessConnection to base/.
Patch Set: Moving BindingManager and ChildProcessConnection to base/. Created 3 years, 7 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
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698