Drop the oom bindings when a new process is used in foreground
commit60cbbc9cd0b3ec405f33974bc1f8f388e2be23df
authorjaekyun <jaekyun@chromium.org>
Fri, 22 May 2015 01:44:09 +0000 (21 18:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 01:44:28 +0000 (22 01:44 +0000)
treebc9d5f918e59f8a959a8e5850e5c5a3c0174929a
parent8ddc364fd10bcfe1a4332f0f66be4e5db84e39b6
Drop the oom bindings when a new process is used in foreground

For now, the oom bindings are dropped even when a utility process is
launched which isn't used in foreground.
We should do that only when a new process is used in foreground.

BUG=487360

Review URL: https://codereview.chromium.org/1138953008

Cr-Commit-Position: refs/heads/master@{#331045}
content/public/android/java/src/org/chromium/content/browser/BindingManager.java
content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java
content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java
content/public/android/javatests/src/org/chromium/content/browser/BindingManagerImplTest.java