Notify the webcontents of the background page of extensions that it's hidden, if...
commit78b0b938146ad6f5d629baaecbf4ba5aea41ca83
authoroysteine <oysteine@chromium.org>
Wed, 10 Dec 2014 18:06:38 +0000 (10 10:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Dec 2014 18:07:08 +0000 (10 18:07 +0000)
treea5216ef3133a853044aa8e2f3c54fea7e75515de
parentd6d785aa0b13b649dfa27b1707ea93b9553640c9
Notify the webcontents of the background page of extensions that it's hidden, if we're running in the right ThrottleBackgroundExtensionPages field trial.

This means the background pages will behave similarly to hidden tabs in terms of resources, including JS timer throttling

R=yoz,kalman,asvitkine
BUG=424661

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

Cr-Commit-Position: refs/heads/master@{#307733}
extensions/browser/extension_host.cc