Add a MemoryPressureMonitor class for Mac.
commit45f88e34e9948c1486f9496016fc8a3f978a84fa
authorshrike <shrike@chromium.org>
Fri, 1 May 2015 17:10:23 +0000 (1 10:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 1 May 2015 17:11:12 +0000 (1 17:11 +0000)
treee4833e5eac7db622a00675e9703fe878fcc8cf63
parent5ce2e584a1243ae492ab6ea19560c7df38a3a0bd
Add a MemoryPressureMonitor class for Mac.

Adds a Mac implementation of the MemoryPressureMonitor class, to watch
for memory pressure events on the Mac.

BUG=463604

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

Cr-Commit-Position: refs/heads/master@{#327925}
base/BUILD.gn
base/base.gyp
base/base.gypi
base/mac/memory_pressure_monitor_mac.cc [new file with mode: 0644]
base/mac/memory_pressure_monitor_mac.h [new file with mode: 0644]
base/mac/memory_pressure_monitor_mac_unittest.cc [new file with mode: 0644]
content/browser/browser_main_loop.cc
content/browser/browser_main_loop.h