Do not discard tabs that are playing audio.
commitdfc893e7cf197a29602ff0db71f0644248741904
authorgeorgesak <georgesak@chromium.org>
Thu, 20 Aug 2015 01:18:36 +0000 (19 18:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 01:19:18 +0000 (20 01:19 +0000)
tree5896b64a83fcca5573f178eb18e9085ba6c5e811
parent6ca20671dfdfa84470d7eff87248fc3541be8fbb
Do not discard tabs that are playing audio.

Discarding a tab that's playing audio is too disruptive to the user experience.

Note that on CrOS, these tabs might sitll end up being discarded by the kernel. But we elevate their priority vs other tabs.

BUG=514340

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

Cr-Commit-Position: refs/heads/master@{#344395}
chrome/browser/memory/oom_priority_manager.cc
chrome/browser/memory/oom_priority_manager_unittest.cc