[Mac] Remove AppNap code

Desktop / Chromium - Leonard Grey [chromium.org] - 13 September 2017 16:08 EDT

We've decided to go with the alternate (direct via Mach task policy) backgrounding method.

Bug: 679417 Change-Id: Ie7566857f3c36b8e6674f06cf3b1128a46fa314a Reviewed-on: https://chromium-review.googlesource.com/663406

9db3077 [Mac] Remove AppNap code
base/process/process.h | 3 --
base/process/process_mac.cc | 14 +----
chrome/app/helper-Info.plist | 2 -
content/child/child_thread_impl.cc | 15 ------
content/child/child_thread_impl.h | 8 ---
content/common/BUILD.gn | 2 -
content/common/mac/app_nap_activity.h | 49 -----------------
content/common/mac/app_nap_activity.mm | 72 -------------------------
content/common/mac/app_nap_activity_unittest.mm | 56 -------------------
content/renderer/render_thread_impl.cc | 8 ---
content/test/BUILD.gn | 1 -
11 files changed, 1 insertion(+), 229 deletions(-)

Upstream: git.chromium.org


  • Share