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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java

Issue 1146813010: Introduce moderate binding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve Yaron's comments Created 5 years, 6 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
Index: content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java b/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java
index 31953866004d290b16f32944dd057cf7f9ec8fa4..d91ca40cc26641b5be0832b3f266a6637e7f8cbe 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ChildProcessConnection.java
@@ -98,7 +98,7 @@ public interface ChildProcessConnection {
boolean isStrongBindingBound();
/**
- * Called to remove the strong binding estabilished when the connection was started. It is safe
+ * Called to remove the strong binding established when the connection was started. It is safe
* to call this multiple times.
*/
void removeInitialBinding();
@@ -128,4 +128,17 @@ public interface ChildProcessConnection {
* Called when the service is no longer in active use of the consumer.
*/
void removeStrongBinding();
+
+ /**
+ * Attaches a moderate binding that will make the service as a visible process.
Maria 2015/06/16 01:33:02 nit: reword this. How about "Attaches a moderate b
Jaekyun Seok (inactive) 2015/06/16 02:40:32 Done.
+ */
+ void addModerateBinding();
+
+ /**
+ * Called when the service is no longer in moderate use of the consumer.
+ */
+ void removeModerateBinding();
+
+ /** @return true iff the moderate oom binding is currently bound. */
+ boolean isModerateBindingBound();
}

Powered by Google App Engine
This is Rietveld 408576698