diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-23 23:53:08 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-23 23:53:08 +0000 |
commit | 96af6d4d2ea59c487a866ba6fc844c801f4c80f9 (patch) | |
tree | 431c8caabdf7a314e0fb058c851e2e8280d21b1d /chrome/browser/zygote_host_linux.h | |
parent | 4a6ed0d466e886bb9cedf38aa5081342c1489679 (diff) | |
download | chromium_src-96af6d4d2ea59c487a866ba6fc844c801f4c80f9.zip chromium_src-96af6d4d2ea59c487a866ba6fc844c801f4c80f9.tar.gz chromium_src-96af6d4d2ea59c487a866ba6fc844c801f4c80f9.tar.bz2 |
Revert 67175 - This change implements OOM priority management for ChromeOS
(Build failure, probably debug/release warning difference.)
This adds periodic OOM score adjustment, based on the last access time of the tab, whether or not it is pinned, and (of course) how much memory it is using.
BUG=http://crosbug.com/8990
TEST=Ran some ui_tests, ran on device.
Review URL: http://codereview.chromium.org/4498001
TBR=gspencer@chromium.org
Review URL: http://codereview.chromium.org/5284003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_host_linux.h')
-rw-r--r-- | chrome/browser/zygote_host_linux.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/zygote_host_linux.h b/chrome/browser/zygote_host_linux.h index ffb7964..dd00336 100644 --- a/chrome/browser/zygote_host_linux.h +++ b/chrome/browser/zygote_host_linux.h @@ -67,9 +67,6 @@ class ZygoteHost { return 0; } - // Adjust the OOM score of the given renderer's PID. - void AdjustRendererOOMScore(base::ProcessHandle process_handle, int score); - private: friend struct DefaultSingletonTraits<ZygoteHost>; ZygoteHost(); |