 Chromium Code Reviews
 Chromium Code Reviews Issue 1146813010:
  Introduce moderate binding  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1146813010:
  Introduce moderate binding  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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(); | 
| } |