summaryrefslogtreecommitdiffstats
path: root/chrome/browser/oom_priority_manager_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixing the clang build, which was unhappy aboutgspencer@google.com2011-09-271-9/+12
| | | | | | | | | | | | my using an local enum. TBR=jamescook@chromium.org BUG=none TEST=build clang trybot Review URL: http://codereview.chromium.org/8048006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102835 0039d316-1c4b-4281-b951-d872f2087c98
* This adds a test for the oom priority manager comparatorgspencer@google.com2011-09-261-0/+116
so that we know that the priority we get is the one we expect. While writing this, I found a bug in the comparator (time threshold was being incorrectly applied), which I fixed. BUG=none TEST=Passed test on Linux. Review URL: http://codereview.chromium.org/7969006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102824 0039d316-1c4b-4281-b951-d872f2087c98